X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/62a2e0a991341575d6f972d587e049b9fa0e7962..30874d6682a37bc1d8f3d76fd90afde6a0f3fce7:/src/proto-p10.c diff --git a/src/proto-p10.c b/src/proto-p10.c index a462f62..d5b7824 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -2487,7 +2487,7 @@ free_user(struct userNode *user) } static void -parse_cleanup(void) +parse_cleanup(UNUSED_ARG(void *extra)) { unsigned int nn; free(of_list); @@ -2724,7 +2724,7 @@ init_parse(void) userList_init(&dead_users); reg_del_channel_func(remove_unbursted_channel, NULL); - reg_exit_func(parse_cleanup); + reg_exit_func(parse_cleanup, NULL); // reg_notice_func(opserv, check_ctcp); }