summaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2014-09-19 01:08:18 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2014-09-19 01:08:18 +0200
commitd4c60dc105e4f4a29873f4666a6c92541edb13eb (patch)
treecd529248882365a625486f74008177f47ce3597f /kike.c
parent21e75ebd552a582bbc4c9a58bc00fd2d321bb637 (diff)
downloadxK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.tar.gz
xK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.tar.xz
xK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.zip
s/_func/_fn/
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)