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

View File

@@ -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;

View File

@@ -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