Move some declarations to header files, this enforces that they match.
This commit is contained in:
parent
aa65834c6f
commit
c465dbcda4
|
@ -99,6 +99,11 @@ extern rb_dlink_list local_oper_list;
|
|||
extern rb_dlink_list oper_list;
|
||||
extern rb_dlink_list dead_list;
|
||||
|
||||
extern rb_bh *channel_heap;
|
||||
extern rb_bh *ban_heap;
|
||||
extern rb_bh *topic_heap;
|
||||
extern rb_bh *member_heap;
|
||||
|
||||
extern int testing_conf;
|
||||
|
||||
extern struct ev_entry *check_splitmode_ev;
|
||||
|
|
|
@ -115,4 +115,6 @@ extern void irc_ns_put16(unsigned int src, unsigned char *dst);
|
|||
extern void irc_ns_put32(unsigned long src, unsigned char *dst);
|
||||
extern int irc_res_mkquery(const char *dname, int class, int type, unsigned char *buf, int buflen);
|
||||
|
||||
extern char irc_domain[HOSTLEN + 1];
|
||||
|
||||
#endif
|
||||
|
|
|
@ -41,11 +41,6 @@
|
|||
#include "s_newconf.h"
|
||||
#include "logger.h"
|
||||
|
||||
extern rb_bh *channel_heap;
|
||||
extern rb_bh *ban_heap;
|
||||
extern rb_bh *topic_heap;
|
||||
extern rb_bh *member_heap;
|
||||
|
||||
static int channel_capabs[] = { CAP_EX, CAP_IE,
|
||||
CAP_SERVICE,
|
||||
CAP_TS6
|
||||
|
|
Loading…
Reference in New Issue