Moved extern chmode_flags declaration from channel.h to chmode.h, as

it's actually declared in the second one
This commit is contained in:
Valery V Yatsko 2008-08-04 21:51:15 +04:00
parent e76989521a
commit fba62b0151
3 changed files with 3 additions and 2 deletions

View File

@ -255,8 +255,6 @@ extern void send_cap_mode_changes(struct Client *client_p, struct Client *source
extern void set_channel_mode(struct Client *client_p, struct Client *source_p, extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]); struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
extern int chmode_flags[256];
extern struct ChannelMode chmode_table[256]; extern struct ChannelMode chmode_table[256];
extern int add_id(struct Client *source_p, struct Channel *chptr, const char *banid, extern int add_id(struct Client *source_p, struct Channel *chptr, const char *banid,

View File

@ -34,6 +34,8 @@
*/ */
#define ERR_CUSTOM 1000 #define ERR_CUSTOM 1000
extern int chmode_flags[256];
extern void chm_nosuch(struct Client *source_p, struct Channel *chptr, extern void chm_nosuch(struct Client *source_p, struct Channel *chptr,
int alevel, int parc, int *parn, int alevel, int parc, int *parn,
const char **parv, int *errors, int dir, char c, long mode_type); const char **parv, int *errors, int dir, char c, long mode_type);

View File

@ -26,6 +26,7 @@
#include "stdinc.h" #include "stdinc.h"
#include "channel.h" #include "channel.h"
#include "chmode.h"
#include "client.h" #include "client.h"
#include "common.h" #include "common.h"
#include "hash.h" #include "hash.h"