From e5fe9c34c37a5cc5df2a96b336c335909c99ef35 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 11:44:56 +0300 Subject: gui: fix gui_key_default_bindings declared without arguments --- src/gui/gui-key.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/gui-key.h b/src/gui/gui-key.h index 68a4b4568..8da66b58f 100644 --- a/src/gui/gui-key.h +++ b/src/gui/gui-key.h @@ -140,6 +140,6 @@ extern void gui_key_print_log (struct t_gui_buffer *buffer); /* key functions (GUI dependent) */ -extern void gui_key_default_bindings (); +extern void gui_key_default_bindings (int context); #endif /* WEECHAT_GUI_KEY_H */ -- cgit v1.2.3 From 832316df0c7a935674e6aaba2e4440d3cd3cd926 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 11:45:13 +0300 Subject: irc: fix irc_server_autojoin_channels declared without arguments --- src/plugins/irc/irc-server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 18c2621ef..8c5fc4212 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -337,7 +337,7 @@ char *irc_server_fingerprint_str_sizes (); #endif /* HAVE_GNUTLS */ extern int irc_server_connect (struct t_irc_server *server); extern void irc_server_auto_connect (int auto_connect); -extern void irc_server_autojoin_channels (); +extern void irc_server_autojoin_channels (struct t_irc_server *server); extern int irc_server_recv_cb (const void *pointer, void *data, int fd); extern int irc_server_timer_sasl_cb (const void *pointer, void *data, int remaining_calls); -- cgit v1.2.3 From 824e6603cc0ec775215c95090e220e740c64cd40 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 11:46:35 +0300 Subject: core: fix gui_color_dump called with excess arguments --- src/core/wee-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 23720fd83..7d0f014a6 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1740,7 +1740,7 @@ COMMAND_CALLBACK(debug) if (string_strcasecmp (argv[1], "color") == 0) { - gui_color_dump (buffer); + gui_color_dump (); return WEECHAT_RC_OK; } -- cgit v1.2.3 From ec13a66af3f766e4f559d884f34e8cbbee26df3f Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 12:01:04 +0300 Subject: core: fix fifo_fd_cb declared without arguments --- src/plugins/fifo/fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/fifo/fifo.c b/src/plugins/fifo/fifo.c index 558b4e0c2..44c0eeac8 100644 --- a/src/plugins/fifo/fifo.c +++ b/src/plugins/fifo/fifo.c @@ -54,7 +54,7 @@ char *fifo_filename = NULL; char *fifo_unterminated = NULL; -int fifo_fd_cb (); +int fifo_fd_cb (const void *pointer, void *data, int fd); /* -- cgit v1.2.3 From 996aaf061368c86c45e1d43a8c81e65ece16873e Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 12:28:00 +0300 Subject: relay: remove local variables used only for sizeof --- src/plugins/relay/irc/relay-irc.c | 7 ++----- src/plugins/relay/weechat/relay-weechat.c | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index a088646d3..99fb0f32b 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -1773,13 +1773,12 @@ relay_irc_close_connection (struct t_relay_client *client) void relay_irc_alloc (struct t_relay_client *client) { - struct t_relay_irc_data *irc_data; char *password; password = weechat_string_eval_expression (weechat_config_string (relay_config_network_password), NULL, NULL, NULL); - client->protocol_data = malloc (sizeof (*irc_data)); + client->protocol_data = malloc (sizeof (struct t_relay_irc_data)); if (client->protocol_data) { RELAY_IRC_DATA(client, address) = strdup ("weechat.relay.irc"); @@ -1810,9 +1809,7 @@ void relay_irc_alloc_with_infolist (struct t_relay_client *client, struct t_infolist *infolist) { - struct t_relay_irc_data *irc_data; - - client->protocol_data = malloc (sizeof (*irc_data)); + client->protocol_data = malloc (sizeof (struct t_relay_irc_data)); if (client->protocol_data) { RELAY_IRC_DATA(client, address) = strdup (weechat_infolist_string (infolist, "address")); diff --git a/src/plugins/relay/weechat/relay-weechat.c b/src/plugins/relay/weechat/relay-weechat.c index 2b3ccab7c..84f1e73c4 100644 --- a/src/plugins/relay/weechat/relay-weechat.c +++ b/src/plugins/relay/weechat/relay-weechat.c @@ -166,13 +166,12 @@ relay_weechat_free_buffers_nicklist (struct t_hashtable *hashtable, void relay_weechat_alloc (struct t_relay_client *client) { - struct t_relay_weechat_data *weechat_data; char *password; password = weechat_string_eval_expression (weechat_config_string (relay_config_network_password), NULL, NULL, NULL); - client->protocol_data = malloc (sizeof (*weechat_data)); + client->protocol_data = malloc (sizeof (struct t_relay_weechat_data)); if (client->protocol_data) { RELAY_WEECHAT_DATA(client, password_ok) = (password && password[0]) ? 0 : 1; @@ -212,12 +211,11 @@ void relay_weechat_alloc_with_infolist (struct t_relay_client *client, struct t_infolist *infolist) { - struct t_relay_weechat_data *weechat_data; int index, value; char name[64]; const char *key; - client->protocol_data = malloc (sizeof (*weechat_data)); + client->protocol_data = malloc (sizeof (struct t_relay_weechat_data)); if (client->protocol_data) { /* general stuff */ -- cgit v1.2.3 From dcef2a8e0ddcea672a38a88f6c57eccc90203a48 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 12:39:59 +0300 Subject: gui: remove non-standard enum forward declaration --- src/gui/gui-bar-window.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/gui-bar-window.h b/src/gui/gui-bar-window.h index f5c0d8573..c5e4a1e43 100644 --- a/src/gui/gui-bar-window.h +++ b/src/gui/gui-bar-window.h @@ -20,10 +20,11 @@ #ifndef WEECHAT_GUI_BAR_WINDOW_H #define WEECHAT_GUI_BAR_WINDOW_H 1 +#include "gui-bar.h" + struct t_infolist; struct t_gui_buffer; struct t_gui_window; -enum t_gui_bar_position; struct t_gui_bar_window_coords { -- cgit v1.2.3 From 7a0bbd802b10bac45247daa7800004ee8b750634 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 13:56:58 +0300 Subject: core: forward declare structs to avoid implicit declarations --- src/core/wee-infolist.h | 2 ++ src/plugins/weechat-plugin.h | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'src') diff --git a/src/core/wee-infolist.h b/src/core/wee-infolist.h index db5937313..1502ae84b 100644 --- a/src/core/wee-infolist.h +++ b/src/core/wee-infolist.h @@ -22,6 +22,8 @@ #include +struct t_weechat_plugin; + /* list structures */ enum t_infolist_type diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 6d0019e2e..d45dd7344 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -36,14 +36,20 @@ extern "C" { #endif /* PATH_MAX */ struct t_config_option; +struct t_config_section; +struct t_config_file; struct t_gui_window; struct t_gui_buffer; struct t_gui_bar; struct t_gui_bar_item; struct t_gui_completion; +struct t_gui_nick; +struct t_gui_nick_group; struct t_infolist; struct t_infolist_item; +struct t_upgrade_file; struct t_weelist; +struct t_weelist_item; struct t_arraylist; struct t_hashtable; struct t_hdata; -- cgit v1.2.3 From ab3806e3205b9ab4c518977f18d3230759ca87d3 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 14:26:09 +0300 Subject: gui: fix gui-focus.h header guard --- src/gui/gui-focus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/gui-focus.h b/src/gui/gui-focus.h index 02720a8ed..93bd2b730 100644 --- a/src/gui/gui-focus.h +++ b/src/gui/gui-focus.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_FOCUS_H -#define WEECHAT_GUI_FOCUS 1 +#define WEECHAT_GUI_FOCUS_H 1 /* focus structures */ -- cgit v1.2.3 From 824610d28b8e1926c125e849398e807432542916 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 14:42:51 +0300 Subject: exec, fifo, irc: remove unused #define-s --- src/plugins/exec/exec-config.h | 1 - src/plugins/fifo/fifo.h | 1 - src/plugins/irc/irc-buffer.h | 5 ----- 3 files changed, 7 deletions(-) (limited to 'src') diff --git a/src/plugins/exec/exec-config.h b/src/plugins/exec/exec-config.h index a1b3f2b1b..667b6e48f 100644 --- a/src/plugins/exec/exec-config.h +++ b/src/plugins/exec/exec-config.h @@ -21,7 +21,6 @@ #define WEECHAT_EXEC_CONFIG_H 1 #define EXEC_CONFIG_NAME "exec" -#define EXEC_CONFIG_SECTION_EXEC "exec" extern struct t_config_file *exec_config_file; diff --git a/src/plugins/fifo/fifo.h b/src/plugins/fifo/fifo.h index d422ef8ab..4c63ed7a6 100644 --- a/src/plugins/fifo/fifo.h +++ b/src/plugins/fifo/fifo.h @@ -22,7 +22,6 @@ #define weechat_plugin weechat_fifo_plugin #define FIFO_PLUGIN_NAME "fifo" -#define FIFO_OPTION_NAME "fifo" extern struct t_weechat_plugin *weechat_fifo_plugin; extern int fifo_quiet; diff --git a/src/plugins/irc/irc-buffer.h b/src/plugins/irc/irc-buffer.h index 6f52aab40..cd0d828ce 100644 --- a/src/plugins/irc/irc-buffer.h +++ b/src/plugins/irc/irc-buffer.h @@ -38,11 +38,6 @@ &ptr_channel); \ } -#define IRC_BUFFER_RAW_NAME "irc_raw" -#define IRC_BUFFER_RAW_PREFIX_RECV "-->" -#define IRC_BUFFER_RAW_PREFIX_RECV_MOD "==>" -#define IRC_BUFFER_RAW_PREFIX_SEND "<--" -#define IRC_BUFFER_RAW_PREFIX_SEND_MOD "<==" struct t_gui_buffer; struct t_irc_server; -- cgit v1.2.3 From 90936d8478eb6c4ad59ba88f8a8400155025940c Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:04:26 +0300 Subject: core, gui: remove declared but unused global variables --- src/gui/gui-bar-item.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index ca8954c27..f9e59b285 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -81,8 +81,6 @@ char *gui_bar_items_default_for_bars[][2] = struct t_gui_bar_item_hook *gui_bar_item_hooks = NULL; struct t_hook *gui_bar_item_timer = NULL; -struct t_hdata *gui_bar_item_hdata_bar_item = NULL; - /* * Checks if a bar item pointer is valid. -- cgit v1.2.3 From e5f67894be623fc8166b72d25d5a25d87084a6ba Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:04:50 +0300 Subject: gui, buflist: remove declared but undefined functions --- src/gui/gui-chat.h | 2 -- src/gui/gui-layout.h | 2 -- src/gui/gui-line.h | 1 - src/plugins/buflist/buflist.h | 1 - 4 files changed, 6 deletions(-) (limited to 'src') diff --git a/src/gui/gui-chat.h b/src/gui/gui-chat.h index 82d48c128..e1a6d1840 100644 --- a/src/gui/gui-chat.h +++ b/src/gui/gui-chat.h @@ -105,7 +105,5 @@ extern const char *gui_chat_string_next_char (struct t_gui_window *window, int apply_style_inactive, int nick_offline); extern void gui_chat_draw (struct t_gui_buffer *buffer, int clear_chat); -extern void gui_chat_draw_line (struct t_gui_buffer *buffer, - struct t_gui_line *line); #endif /* WEECHAT_GUI_CHAT_H */ diff --git a/src/gui/gui-layout.h b/src/gui/gui-layout.h index 3c5c82df5..77683e7bc 100644 --- a/src/gui/gui-layout.h +++ b/src/gui/gui-layout.h @@ -129,7 +129,5 @@ extern int gui_layout_window_add_to_infolist (struct t_infolist *infolist, extern int gui_layout_add_to_infolist (struct t_infolist *infolist, struct t_gui_layout *layout); extern void gui_layout_print_log (); -extern void gui_layout_init (); -extern void gui_layout_end (); #endif /* WEECHAT_GUI_LAYOUT_H */ diff --git a/src/gui/gui-line.h b/src/gui/gui-line.h index 5b1336377..d36236370 100644 --- a/src/gui/gui-line.h +++ b/src/gui/gui-line.h @@ -97,7 +97,6 @@ extern int gui_line_has_offline_nick (struct t_gui_line *line); extern void gui_line_compute_buffer_max_length (struct t_gui_buffer *buffer, struct t_gui_lines *lines); extern void gui_line_compute_prefix_max_length (struct t_gui_lines *lines); -extern void gui_line_set_prefix_same_nick (struct t_gui_line *line); extern void gui_line_mixed_free_buffer (struct t_gui_buffer *buffer); extern void gui_line_mixed_free_all (struct t_gui_buffer *buffer); extern void gui_line_free (struct t_gui_buffer *buffer, diff --git a/src/plugins/buflist/buflist.h b/src/plugins/buflist/buflist.h index 7f7cd744c..7574f678d 100644 --- a/src/plugins/buflist/buflist.h +++ b/src/plugins/buflist/buflist.h @@ -33,7 +33,6 @@ extern struct t_hdata *buflist_hdata_hotlist; extern void buflist_add_bar (); extern void buflist_buffer_get_irc_pointers(struct t_gui_buffer *buffer, void **irc_server, void **irc_channel); -extern struct t_gui_hotlist *buflist_search_hotlist_for_buffer (struct t_gui_buffer *buffer); extern struct t_arraylist *buflist_sort_buffers (); #endif /* WEECHAT_BUFLIST_H */ -- cgit v1.2.3 From dab0792029c388e85e3e0cf2cacb07d91aa1ae79 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:17:40 +0300 Subject: core, script: remove unused config section variables --- src/core/wee-secure.c | 2 -- src/plugins/script/script-config.c | 3 --- 2 files changed, 5 deletions(-) (limited to 'src') diff --git a/src/core/wee-secure.c b/src/core/wee-secure.c index 28c063c81..647cb2e90 100644 --- a/src/core/wee-secure.c +++ b/src/core/wee-secure.c @@ -42,8 +42,6 @@ #define SALT_SIZE 8 struct t_config_file *secure_config_file = NULL; -struct t_config_section *secure_config_section_crypt = NULL; -struct t_config_section *secure_config_section_data = NULL; struct t_config_option *secure_config_crypt_cipher = NULL; struct t_config_option *secure_config_crypt_hash_algo = NULL; diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c index 418bc1e52..f17e53739 100644 --- a/src/plugins/script/script-config.c +++ b/src/plugins/script/script-config.c @@ -34,9 +34,6 @@ struct t_config_file *script_config_file = NULL; -struct t_config_section *script_config_section_look = NULL; -struct t_config_section *script_config_section_color = NULL; -struct t_config_section *script_config_section_scripts = NULL; /* script config, look section */ -- cgit v1.2.3 From 7ab6731efebe3083c7606617b5a680b9c7b89da3 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:25:45 +0300 Subject: relay: fix relay.network.bind_address change callback not being called --- src/plugins/relay/relay-config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c index c372031ab..6a050e5e8 100644 --- a/src/plugins/relay/relay-config.c +++ b/src/plugins/relay/relay-config.c @@ -776,7 +776,9 @@ relay_config_init () "interfaces, use \"127.0.0.1\" to allow connections from " "local machine only)"), NULL, 0, 0, "", NULL, 0, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + NULL, NULL, NULL, + &relay_config_change_network_bind_address_cb, NULL, NULL, + NULL, NULL, NULL); relay_config_network_clients_purge_delay = weechat_config_new_option ( relay_config_file, ptr_section, "clients_purge_delay", "integer", -- cgit v1.2.3 From 55e7090cde228a9dae7a1fac8e05ac29bac4e563 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:45:43 +0300 Subject: gui: remove completion hdata made unusable by arraylist usage --- src/gui/gui-completion.c | 25 ------------------------- src/gui/gui-completion.h | 3 --- 2 files changed, 28 deletions(-) (limited to 'src') diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index 9f8a20508..10d099866 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -1398,31 +1398,6 @@ gui_completion_hdata_completion_cb (const void *pointer, void *data, return hdata; } -/* - * Returns hdata for completion word. - */ - -struct t_hdata * -gui_completion_hdata_completion_word_cb (const void *pointer, void *data, - const char *hdata_name) -{ - struct t_hdata *hdata; - - /* make C compiler happy */ - (void) pointer; - (void) data; - - hdata = hdata_new (NULL, hdata_name, "prev_item", "next_item", - 0, 0, NULL, NULL); - if (hdata) - { - HDATA_VAR(struct t_gui_completion_word, word, STRING, 0, NULL, NULL); - HDATA_VAR(struct t_gui_completion_word, nick_completion, CHAR, 0, NULL, NULL); - HDATA_VAR(struct t_gui_completion_word, count, INTEGER, 0, NULL, NULL); - } - return hdata; -} - /* * Prints list of completion words in WeeChat log file (usually for crash dump). */ diff --git a/src/gui/gui-completion.h b/src/gui/gui-completion.h index ade51fd8e..43b49be75 100644 --- a/src/gui/gui-completion.h +++ b/src/gui/gui-completion.h @@ -83,9 +83,6 @@ extern const char *gui_completion_get_string (struct t_gui_completion *completio extern struct t_hdata *gui_completion_hdata_completion_cb (const void *pointer, void *data, const char *hdata_name); -extern struct t_hdata *gui_completion_hdata_completion_partial_cb (const void *pointer, - void *data, - const char *hdata_name); extern void gui_completion_print_log (struct t_gui_completion *completion); #endif /* WEECHAT_GUI_COMPLETION_H */ -- cgit v1.2.3 From 2508f0acea7982ba4f1d61f96ca95a6d78dd93aa Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 15:50:00 +0300 Subject: core, irc: remove unused structs --- src/plugins/irc/irc-msgbuffer.h | 6 ------ src/plugins/plugin-api.h | 6 ------ 2 files changed, 12 deletions(-) (limited to 'src') diff --git a/src/plugins/irc/irc-msgbuffer.h b/src/plugins/irc/irc-msgbuffer.h index 80457bfe6..c2e72fe05 100644 --- a/src/plugins/irc/irc-msgbuffer.h +++ b/src/plugins/irc/irc-msgbuffer.h @@ -32,12 +32,6 @@ enum t_irc_msgbuffer_target struct t_irc_server; -struct t_irc_msgbuffer -{ - char *message; /* IRC message */ - enum t_irc_msgbuffer_target target; /* target buffer */ -}; - extern struct t_gui_buffer *irc_msgbuffer_get_target_buffer (struct t_irc_server *server, const char *nick, const char *message, diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index aab8c743c..e7f8f1ca2 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -22,12 +22,6 @@ #include -struct t_plugin_api_hdata -{ - char *name; /* hdata name */ - struct t_hdata *(*callback_get_hdata)(); /* callback to get hdata */ -}; - /* strings */ extern void plugin_api_charset_set (struct t_weechat_plugin *plugin, const char *charset); -- cgit v1.2.3 From 44925472044085c265c25527fb96f95a307ce4f1 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 16:24:17 +0300 Subject: gui: remove callback unused after 0b2be21f1f42c2a1b0c200b339d7d2e59595da4c --- src/gui/gui-key.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src') diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c index 1fcfcb82c..f2e7c0ab9 100644 --- a/src/gui/gui-key.c +++ b/src/gui/gui-key.c @@ -1006,28 +1006,6 @@ gui_key_focus_matching (struct t_gui_key *key, return match[0] && match[1]; } -/* - * Callback for replacing values in string with a hashtable. - */ - -char * -gui_key_focus_command_replace_cb (void *data, const char *text) -{ - struct t_hashtable *ptr_hashtable; - const char *ptr_value; - - ptr_hashtable = (struct t_hashtable *)data; - - if (ptr_hashtable) - { - ptr_value = hashtable_get (ptr_hashtable, text); - if (ptr_value) - return strdup (ptr_value); - } - - return NULL; -} - /* * Runs command according to focus. * -- cgit v1.2.3 From 43451e848142d535c4f95aeca81a7cbe2e784c27 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 3 Jun 2017 16:26:09 +0300 Subject: relay: remove callback unused after d2ff46fa69ddfd999ce7a405e336221e6197738d --- src/plugins/relay/weechat/relay-weechat-protocol.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.h b/src/plugins/relay/weechat/relay-weechat-protocol.h index f3a92c122..323b68d50 100644 --- a/src/plugins/relay/weechat/relay-weechat-protocol.h +++ b/src/plugins/relay/weechat/relay-weechat-protocol.h @@ -86,11 +86,6 @@ extern int relay_weechat_protocol_signal_buffer_cb (const void *pointer, const char *signal, const char *type_data, void *signal_data); -extern int relay_weechat_protocol_signal_nicklist_cb (const void *pointer, - void *data, - const char *signal, - const char *type_data, - void *signal_data); extern int relay_weechat_protocol_hsignal_nicklist_cb (const void *pointer, void *data, const char *signal, -- cgit v1.2.3