aboutsummaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kike.c b/kike.c
index 2a05ead..76c7143 100644
--- a/kike.c
+++ b/kike.c
@@ -864,7 +864,7 @@ client_cancel_timers (struct client *c)
}
static void
-client_set_timer (struct client *c, poller_timer_func fn, unsigned interval)
+client_set_timer (struct client *c, poller_timer_fn fn, unsigned interval)
{
client_cancel_timers (c);
poller_timers_add (&c->ctx->poller.timers, fn, c, interval * 1000);
@@ -2627,7 +2627,7 @@ client_update_poller (struct client *c, const struct pollfd *pfd)
hard_assert (new_events != 0);
if (!pfd || pfd->events != new_events)
poller_set (&c->ctx->poller, c->socket_fd, new_events,
- (poller_dispatcher_func) on_client_ready, c);
+ (poller_dispatcher_fn) on_client_ready, c);
}
static void
@@ -2988,7 +2988,7 @@ irc_listen_resolve (struct server_context *ctx,
ctx->listen_fds[ctx->n_listen_fds++] = fd;
set_blocking (fd, false);
poller_set (&ctx->poller, fd, POLLIN,
- (poller_dispatcher_func) on_irc_client_available, ctx);
+ (poller_dispatcher_fn) on_irc_client_available, ctx);
break;
}
freeaddrinfo (gai_result);
@@ -3150,7 +3150,7 @@ main (int argc, char *argv[])
}
poller_set (&ctx.poller, g_signal_pipe[0], POLLIN,
- (poller_dispatcher_func) on_signal_pipe_readable, &ctx);
+ (poller_dispatcher_fn) on_signal_pipe_readable, &ctx);
if (!irc_initialize_ssl (&ctx, &e)
|| !irc_initialize_server_name (&ctx, &e)