1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

irc: remove compilation warning about function pointer

This commit is contained in:
Sebastien Helleu
2011-09-23 09:30:19 +02:00
parent 83a7305bae
commit 867bad2d72
2 changed files with 10 additions and 4 deletions
+5 -2
View File
@@ -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;
+5 -2
View File
@@ -168,9 +168,12 @@ struct t_config_option *irc_config_server_new_option (struct t_config_file *conf
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);
extern int irc_config_init ();
extern int irc_config_read ();