summaryrefslogtreecommitdiff
path: root/zyklonb.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 /zyklonb.c
parent21e75ebd552a582bbc4c9a58bc00fd2d321bb637 (diff)
downloadxK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.tar.gz
xK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.tar.xz
xK-d4c60dc105e4f4a29873f4666a6c92541edb13eb.zip
s/_func/_fn/
Diffstat (limited to 'zyklonb.c')
-rw-r--r--zyklonb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zyklonb.c b/zyklonb.c
index 8f8bcda..ef7b8a6 100644
--- a/zyklonb.c
+++ b/zyklonb.c
@@ -1151,7 +1151,7 @@ plugin_queue_write (struct plugin_data *plugin)
}
poller_set (&plugin->ctx->poller, plugin->write_fd, POLLOUT,
- (poller_dispatcher_func) on_plugin_writable, plugin);
+ (poller_dispatcher_fn) on_plugin_writable, plugin);
}
static void
@@ -1417,7 +1417,7 @@ plugin_load (struct bot_context *ctx, const char *name, struct error **e)
str_map_set (&ctx->plugins_by_name, name, plugin);
poller_set (&ctx->poller, stdout_pipe[0], POLLIN,
- (poller_dispatcher_func) on_plugin_readable, plugin);
+ (poller_dispatcher_fn) on_plugin_readable, plugin);
return true;
fail_3:
@@ -2031,7 +2031,7 @@ irc_connect (struct bot_context *ctx, struct error **e)
// (struct linger) { .l_onoff = true; .l_linger = 1 /* 1s should do */; }
// 3/ /* O_CLOEXEC */ But only if the QUIT message proves unreliable.
poller_set (&ctx->poller, ctx->irc_fd, POLLIN,
- (poller_dispatcher_func) on_irc_readable, ctx);
+ (poller_dispatcher_fn) on_irc_readable, ctx);
irc_reset_connection_timeouts (ctx);
irc_send (ctx, "NICK %s", nickname);
@@ -2232,7 +2232,7 @@ main (int argc, char *argv[])
setup_recovery_handler (&ctx);
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);
plugin_load_all_from_config (&ctx);
if (!parse_config (&ctx, &e)