Fix compilation of irc/core on AIX and IBM i

There's a function in the standard library of these OSes that conflict
with this function. Prefix it with `irc_`.
This commit is contained in:
Calvin Buckley 2018-11-19 13:58:51 +00:00
commit 4380f3820e
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,8 @@
#ifndef __IRC_CAP_H
#define __IRC_CAP_H
void cap_init(void);
/* this is prefixed as to not conflict with an AIX/i function in their stdlib */
void irc_cap_init(void);
void cap_deinit(void);
int cap_toggle (IRC_SERVER_REC *server, char *cap, int enable);
void cap_finish_negotiation (IRC_SERVER_REC *server);