channel_heap,ban_heap,topic_heap,member_heap declared statically in channel.c instead of ircd.{c,h}

This commit is contained in:
Valery V Yatsko 2008-06-28 11:54:51 +04:00
parent 4231cedcea
commit b617afdc02
3 changed files with 5 additions and 9 deletions

View file

@ -99,11 +99,6 @@ 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

@ -41,6 +41,11 @@
#include "s_newconf.h"
#include "logger.h"
static rb_bh *channel_heap;
static rb_bh *ban_heap;
static rb_bh *topic_heap;
static rb_bh *member_heap;
static int channel_capabs[] = { CAP_EX, CAP_IE,
CAP_SERVICE,
CAP_TS6

View file

@ -121,10 +121,6 @@ int zlib_ok = 1;
int testing_conf = 0;
struct config_channel_entry ConfigChannel;
rb_bh *channel_heap;
rb_bh *ban_heap;
rb_bh *topic_heap;
rb_bh *member_heap;
rb_bh *client_heap = NULL;
rb_bh *lclient_heap = NULL;