From 8c20c52ecf936259476d9e7382517b95de1fc39a Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 14 Jul 2019 17:28:48 -0400 Subject: [PATCH] remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from sys/share --- sys/share/pcmain.c | 10 +++++----- sys/share/pcsys.c | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/share/pcmain.c b/sys/share/pcmain.c index a48f974b3..83649856a 100644 --- a/sys/share/pcmain.c +++ b/sys/share/pcmain.c @@ -41,8 +41,8 @@ extern int bigscreen; void NDECL(preserve_icon); #endif -STATIC_DCL void FDECL(process_options, (int argc, char **argv)); -STATIC_DCL void NDECL(nhusage); +static void FDECL(process_options, (int argc, char **argv)); +static void NDECL(nhusage); #if defined(MICRO) || defined(OS2) extern void FDECL(nethack_exit, (int)); @@ -51,7 +51,7 @@ extern void FDECL(nethack_exit, (int)); #endif #ifdef EXEPATH -STATIC_DCL char *FDECL(exepath, (char *)); +static char *FDECL(exepath, (char *)); #endif int FDECL(main, (int, char **)); @@ -531,7 +531,7 @@ attempt_restore: return resuming; } -STATIC_OVL void +static void process_options(argc, argv) int argc; char *argv[]; @@ -662,7 +662,7 @@ char *argv[]; } } -STATIC_OVL void +static void nhusage() { char buf1[BUFSZ], buf2[BUFSZ], *bufptr; diff --git a/sys/share/pcsys.c b/sys/share/pcsys.c index 38e8fb4a0..4dfa7291b 100644 --- a/sys/share/pcsys.c +++ b/sys/share/pcsys.c @@ -33,7 +33,7 @@ void FDECL(nethack_exit, (int)); #else #define nethack_exit exit #endif -STATIC_DCL void NDECL(msexit); +static void NDECL(msexit); #ifdef MOVERLAY extern void __far __cdecl _movepause(void); @@ -45,9 +45,9 @@ extern unsigned short __far __cdecl _movefpaused; #endif /* MOVERLAY */ #ifdef MFLOPPY -STATIC_DCL boolean NDECL(record_exists); +static boolean NDECL(record_exists); #ifndef TOS -STATIC_DCL boolean NDECL(comspec_exists); +static boolean NDECL(comspec_exists); #endif #endif @@ -305,7 +305,7 @@ int start; } /* Return 1 if the record file was found */ -STATIC_OVL boolean +static boolean record_exists() { FILE *fp; @@ -324,7 +324,7 @@ record_exists() #else #ifdef MFLOPPY /* Return 1 if the comspec was found */ -STATIC_OVL boolean +static boolean comspec_exists() { int fd; @@ -492,7 +492,7 @@ int code; extern boolean run_from_desktop; /* set in pcmain.c */ #endif -STATIC_OVL void +static void msexit() { #ifdef CHDIR