1. uranium
  2. shadowircd


Jilles Tjoelker  committed d258840

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

  • Participants
  • Parent commits e4bd165
  • Branches trunk

Comments (0)

Files changed (4)

File include/ircd.h

View file
 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;

File include/reslib.h

View file
 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];

File src/channel.c

View file
 #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,

File src/res.c

View file
 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)