Remove duplicate global definitions

This fixes compiling with gcc-10.

Reported by ixz.
This commit is contained in:
Kevin Easton 2019-12-28 17:07:58 +11:00
parent 9fe7de361e
commit 4f63d48929
4 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,8 @@
[Changes 1.2.2]
* Remove duplicate global definitions to fix compiling with gcc 10.
Reported by ixz. (caf)
* Remove queueing of wildcard CSETs and fix use-after-free with queued
CSETs. (caf)

View File

@ -118,7 +118,6 @@ extern int doing_notice;
static void oper_password_received (char *, char *);
int no_hook_notify = 0;
int load_depth = -1;
extern char cx_function[];

View File

@ -77,7 +77,7 @@ extern int BX_read_sockets();
extern int identd;
extern int doing_notice;
int (*serv_open_func) (int, unsigned long, int);
extern int (*serv_open_func) (int, unsigned long, int);
extern int (*serv_output_func) (int, int, char *, int);
extern int (*serv_input_func) (int, char *, int, int, int);
extern int (*serv_close_func) (int, unsigned long, int);

View File

@ -66,7 +66,6 @@ void show_server_map (void);
int stats_k_grep (char **);
void who_handlekill (char *, char *, char *);
void handle_tracekill (int, char *, char *, char *);
int no_hook_notify;
extern AJoinList *ajoin_list;
void remove_from_server_list (int);