- Moved OPT_DEBUG prototype to main.h (where it belongs to) and removed extern.h
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 17:50:43 +0000 (17:50 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 17:50:43 +0000 (17:50 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5202 82007160-df01-0410-b94d-b575c5fd34c7

src/config.c
src/dnsbl.c
src/irc.c
src/main.c
src/main.h
src/misc.c
src/opercmd.c
src/scan.c
src/stats.c

index 1949402b9335514b7aca6ce872e59c75c6acffe3..707c995eb2522369edb8a7973e5ecde82a61f24a 100644 (file)
@@ -29,7 +29,6 @@
 # include <string.h>
 #endif
 
-#include "extern.h"
 #include "config.h"
 #include "malloc.h"
 #include "log.h"
index a4b0cd102c134369c7d835f2f61e90c17513d3eb..75278a0e79dd300a1fd02af5e75402c65f610d91 100644 (file)
@@ -39,9 +39,9 @@ along with this program; if not, write to the Free Software
 #include "compat.h"
 #include "config.h"
 #include "dnsbl.h"
-#include "extern.h"
 #include "list.h"
 #include "log.h"
+#include "main.h"
 #include "malloc.h"
 #include "match.h"
 #include "scan.h"
index 3a5bb861c80d16e7fcd047c697e56f1e4e6f5c16..9cf64fd4b28a2b42f346405ca8ca03687279929b 100644 (file)
--- a/src/irc.c
+++ b/src/irc.c
@@ -62,7 +62,6 @@
 #include "scan.h"
 #include "dnsbl.h"
 #include "stats.h"
-#include "extern.h"
 #include "options.h"
 #include "match.h"
 #include "compat.h"
index 7cee08a030848e2450611a286ab5aa5f622efd11..d09c33b72768b4b05c7cf40728af2eb529043974 100644 (file)
@@ -41,7 +41,6 @@ along with this program; if not, write to the Free Software
 
 #include "compat.h"
 #include "config.h"
-#include "extern.h"
 #include "irc.h"
 #include "log.h"
 #include "opercmd.h"
index b6489b59d9da2da2ab452c0b98270aa61a64e323..5d8e89e46d20ef1fc9427ce515940da83e3619be 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef MAIN_H
 #define MAIN_H
+extern unsigned int OPT_DEBUG;
 
 extern void main_restart(void);
 #endif /* MAIN_H */
index 6ce29474911e54e1710855e50e0438f780eac75e..940688980b5c9707bb1a1c612d2157d8c2b314a3 100644 (file)
@@ -31,7 +31,6 @@ along with this program; if not, write to the Free Software
 
 #include "compat.h"
 #include "config.h"
-#include "extern.h"
 #include "misc.h"
 
 
index 7603d3dc1f0741b885a63d77b9d6c7a22e38fc57..17e85277950edad92b9f67ee7d948fcf4996c59e 100644 (file)
@@ -34,11 +34,11 @@ along with this program; if not, write to the Free Software
 #include "options.h"
 #include "irc.h"
 #include "log.h"
+#include "main.h"
 #include "misc.h"
 #include "opercmd.h"
 #include "scan.h"
 #include "config.h"
-#include "extern.h"
 #include "malloc.h"
 #include "list.h"
 #include "stats.h"
index 515b166d0fee5990845c49c2a5186cf2afbd5305..a4fc18418b2868c8cd332b66be5ea74b19d32072 100644 (file)
@@ -57,9 +57,9 @@
 #include "opercmd.h"
 #include "stats.h"
 #include "dnsbl.h"
-#include "extern.h"
 #include "options.h"
 #include "negcache.h"
+#include "main.h"
 #include "malloc.h"
 #include "match.h"
 #include "scan.h"
index 225b5288f19aa3cf378a4db179fb41b45dce9e3c..818ae97d21dd8d04c4e82e0d050966d68b5979a0 100644 (file)
@@ -61,7 +61,6 @@ along with this program; if not, write to the Free Software
 #include "misc.h"
 #include "stats.h"
 #include "config.h"
-#include "extern.h"
 #include "opercmd.h"
 #include "scan.h"
 #include "stats.h"