remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from sys/share

This commit is contained in:
nhmall
2019-07-14 17:28:48 -04:00
parent 2ae6d72765
commit 8c20c52ecf
2 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -41,8 +41,8 @@ extern int bigscreen;
void NDECL(preserve_icon); void NDECL(preserve_icon);
#endif #endif
STATIC_DCL void FDECL(process_options, (int argc, char **argv)); static void FDECL(process_options, (int argc, char **argv));
STATIC_DCL void NDECL(nhusage); static void NDECL(nhusage);
#if defined(MICRO) || defined(OS2) #if defined(MICRO) || defined(OS2)
extern void FDECL(nethack_exit, (int)); extern void FDECL(nethack_exit, (int));
@@ -51,7 +51,7 @@ extern void FDECL(nethack_exit, (int));
#endif #endif
#ifdef EXEPATH #ifdef EXEPATH
STATIC_DCL char *FDECL(exepath, (char *)); static char *FDECL(exepath, (char *));
#endif #endif
int FDECL(main, (int, char **)); int FDECL(main, (int, char **));
@@ -531,7 +531,7 @@ attempt_restore:
return resuming; return resuming;
} }
STATIC_OVL void static void
process_options(argc, argv) process_options(argc, argv)
int argc; int argc;
char *argv[]; char *argv[];
@@ -662,7 +662,7 @@ char *argv[];
} }
} }
STATIC_OVL void static void
nhusage() nhusage()
{ {
char buf1[BUFSZ], buf2[BUFSZ], *bufptr; char buf1[BUFSZ], buf2[BUFSZ], *bufptr;
+6 -6
View File
@@ -33,7 +33,7 @@ void FDECL(nethack_exit, (int));
#else #else
#define nethack_exit exit #define nethack_exit exit
#endif #endif
STATIC_DCL void NDECL(msexit); static void NDECL(msexit);
#ifdef MOVERLAY #ifdef MOVERLAY
extern void __far __cdecl _movepause(void); extern void __far __cdecl _movepause(void);
@@ -45,9 +45,9 @@ extern unsigned short __far __cdecl _movefpaused;
#endif /* MOVERLAY */ #endif /* MOVERLAY */
#ifdef MFLOPPY #ifdef MFLOPPY
STATIC_DCL boolean NDECL(record_exists); static boolean NDECL(record_exists);
#ifndef TOS #ifndef TOS
STATIC_DCL boolean NDECL(comspec_exists); static boolean NDECL(comspec_exists);
#endif #endif
#endif #endif
@@ -305,7 +305,7 @@ int start;
} }
/* Return 1 if the record file was found */ /* Return 1 if the record file was found */
STATIC_OVL boolean static boolean
record_exists() record_exists()
{ {
FILE *fp; FILE *fp;
@@ -324,7 +324,7 @@ record_exists()
#else #else
#ifdef MFLOPPY #ifdef MFLOPPY
/* Return 1 if the comspec was found */ /* Return 1 if the comspec was found */
STATIC_OVL boolean static boolean
comspec_exists() comspec_exists()
{ {
int fd; int fd;
@@ -492,7 +492,7 @@ int code;
extern boolean run_from_desktop; /* set in pcmain.c */ extern boolean run_from_desktop; /* set in pcmain.c */
#endif #endif
STATIC_OVL void static void
msexit() msexit()
{ {
#ifdef CHDIR #ifdef CHDIR