extern declaration in ircd.h instead of ircd.c

This commit is contained in:
Valery Yatsko 2008-04-02 13:53:41 +04:00
parent 59323b9668
commit ba4936e2c5
2 changed files with 3 additions and 1 deletions

View file

@ -109,4 +109,6 @@ extern int testing_conf;
extern struct ev_entry *check_splitmode_ev;
extern int maxconnections;
#endif

View file

@ -78,7 +78,7 @@ extern int ServerRunning;
extern struct LocalUser meLocalUser;
extern char **myargv;
extern int maxconnections; /* XXX */
int maxconnections; /* XXX */
/*
* print_startup - print startup information