From: Pasi Kallinen Date: Sat, 21 Nov 2015 18:56:47 +0000 (+0200) Subject: Declare a variable as static X-Git-Tag: NetHack-3.6.0_RC01~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90302ce86dbdcdabdd2940d824bd6da51b600ce5;p=nethack Declare a variable as static --- diff --git a/src/mkmap.c b/src/mkmap.c index 01354154c..3ed4fd97f 100644 --- a/src/mkmap.c +++ b/src/mkmap.c @@ -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;