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

@ -296,7 +296,7 @@ static void event_invalid_cap (IRC_SERVER_REC *server, const char *data, const c
irc_send_cmd_now(server, "CAP END");
}
void cap_init (void)
void irc_cap_init (void)
{
signal_add_first("event cap", (SIGNAL_FUNC) event_cap);
signal_add_first("event 410", (SIGNAL_FUNC) event_invalid_cap);