summaryrefslogtreecommitdiff
path: root/src/plugins/fifo/fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fifo/fifo.c')
-rw-r--r--src/plugins/fifo/fifo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fifo/fifo.c b/src/plugins/fifo/fifo.c
index 55f77279c..a82ae86ab 100644
--- a/src/plugins/fifo/fifo.c
+++ b/src/plugins/fifo/fifo.c
@@ -295,11 +295,11 @@ fifo_read ()
}
/*
- * fifo_config: fifo config callback (called when fifo option is changed)
+ * fifo_config_cb: fifo config callback (called when fifo option is changed)
*/
static int
-fifo_config (void *data, char *type, char *option, char *value)
+fifo_config_cb (void *data, char *type, char *option, char *value)
{
/* make C compiler happy */
(void) data;
@@ -333,7 +333,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin)
fifo_fd_hook = weechat_hook_fd (fifo_fd, 1, 0, 0, fifo_read, NULL);
- weechat_hook_config ("plugin", "fifo.fifo", fifo_config, NULL);
+ weechat_hook_config ("plugin", "fifo.fifo", fifo_config_cb, NULL);
return PLUGIN_RC_SUCCESS;
}