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

@ -52,6 +52,7 @@
#include "match.h"
#include "file.h"
#include "optlist.h"
#include "tel.h"
#include "gen.h" /* parse */
/* for systems without strdup */
@ -380,9 +381,6 @@ struct otherfiles {
char *name;
};
extern s_char *upfil, *downfil, *disablefil, *banfil, *authfil;
extern s_char *commfil, *annfil, *telfil, *teldir, *timestampfil;
/* list of other well known files... -maybe tailor these oneday
* anyway - meantime they are all relative to datadir */
static struct otherfiles ofiles[] = {

View file

@ -63,8 +63,6 @@
#include "empthread.h"
extern struct player *player; /* XXX */
struct iop {
int fd;
struct ioqueue *input;