Move some declarations to header files, this enforces that they match.

This commit is contained in:
Jilles Tjoelker 2008-04-20 15:30:24 +02:00
parent 2e819b6b3e
commit 896755fe0d
4 changed files with 7 additions and 8 deletions

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -99,9 +99,6 @@ static int proc_answer(struct reslist *request, HEADER * header, char *, char *)
static struct reslist *find_id(int id);
static struct DNSReply *make_dnsreply(struct reslist *request);
extern char irc_domain[HOSTLEN + 1];
/*
* int
* res_ourserver(inp)