From: Valery Yatsko Date: Wed, 2 Apr 2008 09:53:41 +0000 (+0400) Subject: extern declaration in ircd.h instead of ircd.c X-Git-Tag: charybdis-3.0.0-beta1~201 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/58f3e3875620b3fa9c7f26f91591ef62c1bdaed4?ds=inline extern declaration in ircd.h instead of ircd.c --- diff --git a/include/ircd.h b/include/ircd.h index f026f3d..6f2a5ae 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -109,4 +109,6 @@ extern int testing_conf; extern struct ev_entry *check_splitmode_ev; +extern int maxconnections; + #endif diff --git a/src/ircd.c b/src/ircd.c index 5d6e284..6ad6f61 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -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