diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-09-23 09:30:19 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-09-23 09:30:19 +0200 |
commit | 867bad2d72d0122d897b18614b7d5ed8e41fcc4d (patch) | |
tree | ba8f9ff3da8d0fc600e29d1b156a668a3925b6bc /src/plugins/irc/irc-config.c | |
parent | 83a7305bae5c2a88740fd7e2936ee3ddc52423f0 (diff) | |
download | weechat-867bad2d72d0122d897b18614b7d5ed8e41fcc4d.zip |
irc: remove compilation warning about function pointer
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r-- | src/plugins/irc/irc-config.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c index 6763f9e94..66c2c9b0a 100644 --- a/src/plugins/irc/irc-config.c +++ b/src/plugins/irc/irc-config.c @@ -1262,9 +1262,12 @@ irc_config_server_new_option (struct t_config_file *config_file, const char *default_value, const char *value, int null_value_allowed, - void *callback_check_value, + int (*callback_check_value)(void *data, + struct t_config_option *option, + const char *value), void *callback_check_value_data, - void *callback_change, + void (*callback_change)(void *data, + struct t_config_option *option), void *callback_change_data) { struct t_config_option *new_option; |