From: jwalz Date: Tue, 18 Feb 2003 22:31:12 +0000 (+0000) Subject: Allow use of old compiler. X-Git-Tag: MOVE2GIT~2162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d488f47623bb30e34435eef05d52a794d1b85e0;p=nethack Allow use of old compiler. --- diff --git a/src/attrib.c b/src/attrib.c index e13f83007..e4fab6f0c 100644 --- a/src/attrib.c +++ b/src/attrib.c @@ -522,6 +522,7 @@ redist_attr() (void)encumber_msg(); } +STATIC_OVL void postadjabil(ability) long *ability; diff --git a/src/cmd.c b/src/cmd.c index e77a56988..e778cf982 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -2058,7 +2058,7 @@ const char *msg; { char ctrl; winid win; - const char wiz_only_list[] = "EFGIOVW"; + static const char wiz_only_list[] = "EFGIOVW"; char buf[BUFSZ], buf2[BUFSZ], *expl; win = create_nhwindow(NHW_TEXT); diff --git a/src/files.c b/src/files.c index 87bad0c54..ef1a6ac6e 100644 --- a/src/files.c +++ b/src/files.c @@ -185,7 +185,7 @@ int bufsz; { char *sp, *op; int cnt = 0; - char hexdigits[] = "0123456789ABCDEF"; + static char hexdigits[] = "0123456789ABCDEF"; sp = s; op = callerbuf; @@ -230,7 +230,7 @@ int bufsz; { char *sp, *op; int k,calc,cnt = 0; - char hexdigits[] = "0123456789ABCDEF"; + static char hexdigits[] = "0123456789ABCDEF"; sp = s; op = callerbuf;