diff --git a/src/plugins/c_api.c b/src/plugins/c_api.c index 47efa49e..9d5fdaad 100644 --- a/src/plugins/c_api.c +++ b/src/plugins/c_api.c @@ -292,10 +292,10 @@ c_api_settings_string_list_remove(char *group, char *key, char *value) return api_settings_string_list_remove(group, key, value); } -static void +static int c_api_settings_string_list_remove_all(char *group, char *key) { - api_settings_string_list_remove_all(group, key); + return api_settings_string_list_remove_all(group, key); } static int diff --git a/src/plugins/profapi.c b/src/plugins/profapi.c index 6e51a642..c1fe60c9 100644 --- a/src/plugins/profapi.c +++ b/src/plugins/profapi.c @@ -84,7 +84,7 @@ void (*prof_settings_set_int)(char *group, char *key, int value) = NULL; char** (*prof_settings_get_string_list)(char *group, char *key) = NULL; void (*prof_settings_string_list_add)(char *group, char *key, char *value) = NULL; int (*prof_settings_string_list_remove)(char *group, char *key, char *value) = NULL; -void (*prof_settings_string_list_remove_all)(char *group, char *key) = NULL; +int (*prof_settings_string_list_remove_all)(char *group, char *key) = NULL; void (*prof_incoming_message)(char *barejid, char *resource, char *message) = NULL; diff --git a/src/plugins/profapi.h b/src/plugins/profapi.h index 57c4eaf7..6a9a2edd 100644 --- a/src/plugins/profapi.h +++ b/src/plugins/profapi.h @@ -94,7 +94,7 @@ void (*prof_settings_set_int)(char *group, char *key, int value); char** (*prof_settings_get_string_list)(char *group, char *key); void (*prof_settings_string_list_add)(char *group, char *key, char *value); int (*prof_settings_string_list_remove)(char *group, char *key, char *value); -void (*prof_settings_string_list_remove_all)(char *group, char *key); +int (*prof_settings_string_list_remove_all)(char *group, char *key); void (*prof_incoming_message)(char *barejid, char *resource, char *message);