Add some missing declarations to headers. Remove some redundant

declarations elsewhere.  Change linkage of some functions to static.
This commit is contained in:
Markus Armbruster 2004-02-20 10:51:03 +00:00
parent e7811102a3
commit 4a3f0b8146
43 changed files with 72 additions and 169 deletions

View file

@ -67,19 +67,15 @@
#include "server.h"
#include "prototypes.h"
void nullify_objects(void);
void init_files(void);
void close_files(void);
static void nullify_objects(void);
static void init_files(void);
static void close_files(void);
#if defined(_WIN32)
static void loc_NTInit(void);
static void loc_NTTerm(void);
#endif
extern void mobility_init(void);
extern void mobility_check(void *);
extern void market_update(void *);
#if !defined(_WIN32)
static int mainpid = 0;
#endif
@ -250,7 +246,7 @@ main(int argc, char **argv)
return 0;
}
void
static void
init_files(void)
{
ef_open(EF_NATION, O_RDWR, EFF_MEM);
@ -270,7 +266,7 @@ init_files(void)
ef_open(EF_LOST, O_RDWR, 0);
}
void
static void
close_files(void)
{
ef_close(EF_NATION);
@ -385,7 +381,7 @@ shutdwn(int sig)
}
void
static void
nullify_objects(void)
{
int i, j;