s/_func/_fn/

This commit is contained in:
2014-09-19 01:08:18 +02:00
parent 21e75ebd55
commit d4c60dc105
3 changed files with 16 additions and 16 deletions

8
kike.c
View File

@@ -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)