From 1d488f47623bb30e34435eef05d52a794d1b85e0 Mon Sep 17 00:00:00 2001 From: jwalz Date: Tue, 18 Feb 2003 22:31:12 +0000 Subject: [PATCH] Allow use of old compiler. --- src/attrib.c | 1 + src/cmd.c | 2 +- src/files.c | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) 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; -- 2.40.0