]> granicus.if.org Git - nethack/commitdiff
Declare a variable as static
authorPasi Kallinen <paxed@alt.org>
Sat, 21 Nov 2015 18:56:47 +0000 (20:56 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 21 Nov 2015 18:56:47 +0000 (20:56 +0200)
src/mkmap.c

index 01354154c186266b68cf748037fa19e50367f884..3ed4fd97fafe74eca280c7b2d627557b4ee70366 100644 (file)
@@ -21,7 +21,7 @@ STATIC_DCL void FDECL(finish_map,
 STATIC_DCL void FDECL(remove_room, (unsigned));
 void FDECL(mkmap, (lev_init *));
 
-char *new_locations;
+static char *new_locations;
 int min_rx, max_rx, min_ry, max_ry; /* rectangle bounds for regions */
 static int n_loc_filled;