1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Update comments after #endif in C headers

This commit is contained in:
Sebastien Helleu
2010-06-25 15:03:39 +02:00
parent 6562d676fe
commit dcdba08f8a
112 changed files with 117 additions and 116 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ extern int alias_config_init ();
extern int alias_config_read ();
extern int alias_config_write ();
#endif /* alias-config.h */
#endif /* __WEECHAT_ALIAS_CONFIG_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void alias_info_init ();
#endif /* alias-info.h */
#endif /* __WEECHAT_ALIAS_INFO_H */
+1 -1
View File
@@ -52,4 +52,4 @@ extern void alias_free_all ();
extern int alias_add_to_infolist (struct t_infolist *infolist,
struct t_alias *alias);
#endif /* alias.h */
#endif /* __WEECHAT_ALIAS_H */
+1 -1
View File
@@ -43,4 +43,4 @@ extern int weechat_aspell_config_read ();
extern int weechat_aspell_config_write ();
extern void weechat_aspell_config_free ();
#endif /* weechat-aspell-config.h */
#endif /* __WEECHAT_ASPELL_CONFIG_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern struct t_aspell_speller *weechat_aspell_speller_new (const char *lang);
extern void weechat_aspell_speller_free (struct t_aspell_speller *speller);
extern void weechat_aspell_speller_free_all ();
#endif /* weechat-aspell-speller.h */
#endif /* __WEECHAT_ASPELL_SPELLER_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern struct t_aspell_code countries_avail[];
extern void weechat_aspell_create_spellers (struct t_gui_buffer *buffer);
#endif /* weechat-aspell.h */
#endif /* __WEECHAT_ASPELL_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void fifo_info_init ();
#endif /* fifo-info.h */
#endif /* __WEECHAT_FIFO_INFO_H */
+1 -1
View File
@@ -26,4 +26,4 @@
extern struct t_weechat_plugin *weechat_fifo_plugin;
extern char *fifo_filename;
#endif /* fifo.h */
#endif /* __WEECHAT_FIFO_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void irc_bar_item_init ();
#endif /* irc-bar-item.h */
#endif /* __WEECHAT_IRC_BAR_ITEM_H */
+1 -1
View File
@@ -55,4 +55,4 @@ extern char *irc_buffer_build_name (const char *server, const char *channel);
extern int irc_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
extern struct t_gui_buffer *irc_buffer_search_first_for_all_servers ();
#endif /* irc-buffer.h */
#endif /* __WEECHAT_IRC_BUFFER_H */
+1 -1
View File
@@ -121,4 +121,4 @@ extern int irc_channel_add_to_infolist (struct t_infolist *infolist,
struct t_irc_channel *channel);
extern void irc_channel_print_log (struct t_irc_channel *channel);
#endif /* irc-channel.h */
#endif /* __WEECHAT_IRC_CHANNEL_H */
+1 -1
View File
@@ -94,4 +94,4 @@ extern char *irc_color_modifier_cb (void *data, const char *modifier,
const char *modifier_data,
const char *string);
#endif /* irc-color.h */
#endif /* __WEECHAT_IRC_COLOR_H */
+1 -1
View File
@@ -65,4 +65,4 @@ extern void irc_command_quit_server (struct t_irc_server *server,
const char *arguments);
extern void irc_command_init ();
#endif /* irc-command.h */
#endif /* __WEECHAT_IRC_COMMAND_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void irc_completion_init ();
#endif /* irc-completion.h */
#endif /* __WEECHAT_IRC_COMPLETION_H */
+1 -1
View File
@@ -148,4 +148,4 @@ extern int irc_config_read ();
extern int irc_config_write (int write_temp_servers);
extern void irc_config_free ();
#endif /* irc-config.h */
#endif /* __WEECHAT_IRC_CONFIG_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern void irc_ctcp_recv (struct t_irc_server *server, const char *command,
const char *nick, const char *remote_nick,
char *arguments, char *message);
#endif /* irc-ctcp.h */
#endif /* __WEECHAT_IRC_CTCP_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void irc_debug_init ();
#endif /* irc-debug.h */
#endif /* __WEECHAT_IRC_DEBUG_H */
+1 -1
View File
@@ -25,4 +25,4 @@ extern void irc_display_away (struct t_irc_server *server, const char *string1,
const char *string2);
extern void irc_display_server (struct t_irc_server *server, int with_detail);
#endif /* irc-display.h */
#endif /* __WEECHAT_IRC_DISPLAY_H */
+1 -1
View File
@@ -54,4 +54,4 @@ extern void irc_ignore_free_all ();
extern int irc_ignore_add_to_infolist (struct t_infolist *infolist,
struct t_irc_ignore *ignore);
#endif /* irc-ignore.h */
#endif /* __WEECHAT_IRC_IGNORE_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void irc_info_init ();
#endif /* irc-info.h */
#endif /* __WEECHAT_IRC_INFO_H */
+1 -1
View File
@@ -27,4 +27,4 @@ extern void irc_input_user_message_display (struct t_gui_buffer *buffer,
extern int irc_input_data_cb (void *data, struct t_gui_buffer *buffer,
const char *input_data);
#endif /* irc-input.h */
#endif /* __WEECHAT_IRC_INPUT_H */
+1 -1
View File
@@ -34,4 +34,4 @@ extern int irc_mode_get_nick_attr (struct t_irc_server *server, char *mode,
extern char irc_mode_get_prefix (struct t_irc_server *server, char mode,
char default_prefix);
#endif /* irc-mode.h */
#endif /* __WEECHAT_IRC_MODE_H */
+1 -1
View File
@@ -44,4 +44,4 @@ extern struct t_gui_buffer *irc_msgbuffer_get_target_buffer (struct t_irc_server
const char *alias,
struct t_gui_buffer *default_buffer);
#endif /* irc-msgbuffer.h */
#endif /* __WEECHAT_IRC_MSGBUFFER_H */
+1 -1
View File
@@ -117,4 +117,4 @@ extern int irc_nick_add_to_infolist (struct t_infolist *infolist,
struct t_irc_nick *nick);
extern void irc_nick_print_log (struct t_irc_nick *nick);
#endif /* irc-nick.h */
#endif /* __WEECHAT_IRC_NICK_H */
+1 -1
View File
@@ -84,4 +84,4 @@ extern void irc_protocol_recv_command (struct t_irc_server *server,
const char *msg_command,
const char *msg_channel);
#endif /* irc-protocol.h */
#endif /* __WEECHAT_IRC_PROTOCOL_H */
+1 -1
View File
@@ -51,4 +51,4 @@ extern void irc_raw_message_free_all ();
extern int irc_raw_add_to_infolist (struct t_infolist *infolist,
struct t_irc_raw_message *raw_message);
#endif /* irc-raw.h */
#endif /* __WEECHAT_IRC_RAW_H */
+1 -1
View File
@@ -38,4 +38,4 @@ extern char *irc_sasl_mechanism_dh_blowfish (const char *data_base64,
const char *sasl_username,
const char *sasl_password);
#endif /* irc-sasl.h */
#endif /* __WEECHAT_IRC_SASL_H */
+1 -1
View File
@@ -235,4 +235,4 @@ extern int irc_server_add_to_infolist (struct t_infolist *infolist,
struct t_irc_server *server);
extern void irc_server_print_log ();
#endif /* irc-server.h */
#endif /* __WEECHAT_IRC_SERVER_H */
+1 -1
View File
@@ -35,4 +35,4 @@ enum t_irc_upgrade_type
extern int irc_upgrade_save ();
extern int irc_upgrade_load ();
#endif /* irc-upgrade.h */
#endif /* __WEECHAT_IRC_UPGRADE_H */
+1 -1
View File
@@ -27,4 +27,4 @@
extern struct t_weechat_plugin *weechat_irc_plugin;
extern struct t_hook *irc_hook_timer_check_away;
#endif /* irc.h */
#endif /* __WEECHAT_IRC_H */
+1 -1
View File
@@ -47,4 +47,4 @@ extern void logger_buffer_free (struct t_logger_buffer *logger_buffer);
extern int logger_buffer_add_to_infolist (struct t_infolist *infolist,
struct t_logger_buffer *logger_buffer);
#endif /* logger-buffer.h */
#endif /* __WEECHAT_LOGGER_BUFFER_H */
+1 -1
View File
@@ -41,4 +41,4 @@ extern int logger_config_read ();
extern int logger_config_write ();
extern void logger_config_free ();
#endif /* logger-config.h */
#endif /* __WEECHAT_LOGGER_CONFIG_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void logger_info_init ();
#endif /* logger-info.h */
#endif /* __WEECHAT_LOGGER_INFO_H */
+1 -1
View File
@@ -30,4 +30,4 @@ extern struct t_logger_line *logger_tail_file (const char *filename,
int n_lines);
extern void logger_tail_free (struct t_logger_line *lines);
#endif /* logger-tail.h */
#endif /* __WEECHAT_LOGGER_TAIL_H */
+1 -1
View File
@@ -32,4 +32,4 @@ extern void logger_start_buffer_all (int write_info_line);
extern void logger_stop_all (int write_info_line);
extern void logger_adjust_log_filenames ();
#endif /* logger.h */
#endif /* __WEECHAT_LOGGER_H */
+1 -1
View File
@@ -66,4 +66,4 @@ extern void plugin_api_infolist_free (struct t_infolist *infolist);
extern void plugin_api_init ();
#endif /* plugin-api.h */
#endif /* __WEECHAT_PLUGIN_API_H */
+1 -1
View File
@@ -34,4 +34,4 @@ extern int plugin_config_read ();
extern int plugin_config_write ();
extern void plugin_config_end ();
#endif /* plugin-config.h */
#endif /* __WEECHAT_PLUGIN_CONFIG_H */
+1 -1
View File
@@ -46,4 +46,4 @@ extern int plugin_add_to_infolist (struct t_infolist *infolist,
struct t_weechat_plugin *plugin);
extern void plugin_print_log ();
#endif /* plugin.h */
#endif /* __WEECHAT_PLUGIN_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_RELAY_DISPLAY_H
#define __WEECHAT_RELAY_DISPLAY_H 1
#ifndef __WEECHAT_RELAY_BUFFER_H
#define __WEECHAT_RELAY_BUFFER_H 1
extern struct t_gui_buffer *relay_buffer;
extern int relay_buffer_selected_line;
@@ -29,4 +29,4 @@ extern int relay_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
extern int relay_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
extern void relay_buffer_open ();
#endif /* relay-buffer.h */
#endif /* __WEECHAT_RELAY_BUFFER_H */
+1 -1
View File
@@ -82,4 +82,4 @@ extern int relay_client_add_to_infolist (struct t_infolist *infolist,
struct t_relay_client *client);
extern void relay_client_print_log ();
#endif /* relay-client.h */
#endif /* __WEECHAT_RELAY_CLIENT_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void relay_command_init ();
#endif /* relay-command.h */
#endif /* __WEECHAT_RELAY_COMMAND_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void relay_completion_init ();
#endif /* relay-completion.h */
#endif /* __WEECHAT_RELAY_COMPLETION_H */
+1 -1
View File
@@ -43,4 +43,4 @@ extern int relay_config_init ();
extern int relay_config_read ();
extern int relay_config_write ();
#endif /* relay-config.h */
#endif /* __WEECHAT_RELAY_CONFIG_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void relay_info_init ();
#endif /* relay-info.h */
#endif /* __WEECHAT_RELAY_INFO_H */
+1 -1
View File
@@ -43,4 +43,4 @@ extern void relay_protocol_irc_alloc (struct t_relay_client *client);
extern void relay_protocol_irc_free (struct t_relay_client *client);
extern void relay_protocol_irc_print_log (struct t_relay_client *client);
#endif /* relay-protocol-irc.h */
#endif /* __WEECHAT_RELAY_PROTOCOL_IRC_H */
+1 -1
View File
@@ -41,4 +41,4 @@ extern void relay_protocol_weechat_alloc (struct t_relay_client *client);
extern void relay_protocol_weechat_free (struct t_relay_client *client);
extern void relay_protocol_weechat_print_log (struct t_relay_client *client);
#endif /* relay-protocol-weechat.h */
#endif /* __WEECHAT_RELAY_PROTOCOL_WEECHAT_H */
+1 -1
View File
@@ -49,4 +49,4 @@ extern void relay_server_free (struct t_relay_server *server);
extern void relay_server_free_all ();
extern void relay_server_print_log ();
#endif /* relay-server.h */
#endif /* __WEECHAT_RELAY_SERVER_H */
+1 -1
View File
@@ -32,4 +32,4 @@ enum t_relay_upgrade_type
extern int relay_upgrade_save ();
extern int relay_upgrade_load ();
#endif /* relay-upgrade.h */
#endif /* __WEECHAT_RELAY_UPGRADE_H */
+1 -1
View File
@@ -43,4 +43,4 @@ extern char *relay_protocol_string[];
extern int relay_protocol_search (const char *name);
#endif /* relay.h */
#endif /* __WEECHAT_RELAY_H */
+1 -1
View File
@@ -29,4 +29,4 @@ extern int weechat_lua_api_buffer_input_data_cb (void *data,
extern int weechat_lua_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
#endif /* weechat-lua.h */
#endif /* __WEECHAT_LUA_API_H */
+1 -1
View File
@@ -40,4 +40,4 @@ extern void *weechat_lua_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char **argv);
#endif /* weechat-lua.h */
#endif /* __WEECHAT_LUA_H */
+1 -1
View File
@@ -27,4 +27,4 @@ extern int weechat_perl_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
extern void weechat_perl_api_init (pTHX);
#endif /* weechat-perl.h */
#endif /* __WEECHAT_PERL_API_H */
+1 -1
View File
@@ -38,4 +38,4 @@ extern void *weechat_perl_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char **argv);
#endif /* weechat-perl.h */
#endif /* __WEECHAT_PERL_H */
@@ -29,4 +29,4 @@ extern int weechat_python_api_buffer_input_data_cb (void *data,
extern int weechat_python_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
#endif /* weechat-python.h */
#endif /* __WEECHAT_PYTHON_API_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern void *weechat_python_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char **argv);
#endif /* weechat-perl.h */
#endif /* __WEECHAT_PYTHON_H */
+1 -1
View File
@@ -28,4 +28,4 @@ extern int weechat_ruby_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
extern void weechat_ruby_api_init (VALUE ruby_mWeechat);
#endif /* weechat-ruby.h */
#endif /* __WEECHAT_RUBY_API_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern void *weechat_ruby_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char **argv);
#endif /* weechat-perl.h */
#endif /* __WEECHAT_RUBY_H */
+1 -1
View File
@@ -311,4 +311,4 @@ extern int script_api_upgrade_read (struct t_weechat_plugin *weechat_plugin,
const char *function,
const char *data);
#endif /* script-api.h */
#endif /* __WEECHAT_SCRIPT_API_H */
+1 -1
View File
@@ -50,4 +50,4 @@ extern void script_callback_remove_all (struct t_plugin_script *script);
extern void script_callback_print_log (struct t_weechat_plugin *weechat_plugin,
struct t_script_callback *script_callback);
#endif /* script-callback.h */
#endif /* __WEECHAT_SCRIPT_CALLBACK_H */
+1 -1
View File
@@ -150,4 +150,4 @@ extern void script_end (struct t_weechat_plugin *weechat_plugin,
extern void script_print_log (struct t_weechat_plugin *weechat_plugin,
struct t_plugin_script *scripts);
#endif /* script.h */
#endif /* __WEECHAT_SCRIPT_H */
+1 -1
View File
@@ -28,4 +28,4 @@ extern int weechat_tcl_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
extern void weechat_tcl_api_init (Tcl_Interp *interp);
#endif /* weechat-tcl.h */
#endif /* __WEECHAT_TCL_API_H */
+1 -1
View File
@@ -39,4 +39,4 @@ extern void *weechat_tcl_exec (struct t_plugin_script *script,
int ret_type, const char *function,
char **argv);
#endif /* weechat-tcl.h */
#endif /* __WEECHAT_TCL_H */
+1 -1
View File
@@ -1230,4 +1230,4 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin);
#define weechat_upgrade_close(__upgrade_file) \
weechat_plugin->upgrade_close(__upgrade_file)
#endif /* weechat-plugin.h */
#endif /* __WEECHAT_WEECHAT_PLUGIN_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_XFER_DISPLAY_H
#define __WEECHAT_XFER_DISPLAY_H 1
#ifndef __WEECHAT_XFER_BUFFER_H
#define __WEECHAT_XFER_BUFFER_H 1
#define XFER_BUFFER_NAME "xfer.list"
@@ -31,4 +31,4 @@ extern int xfer_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
extern int xfer_buffer_close_cb (void *data, struct t_gui_buffer *buffer);
extern void xfer_buffer_open ();
#endif /* xfer-buffer.h */
#endif /* __WEECHAT_XFER_BUFFER_H */
+1 -1
View File
@@ -24,4 +24,4 @@ extern void xfer_chat_sendf (struct t_xfer *xfer, const char *format, ...);
extern int xfer_chat_recv_cb (void *arg_xfer, int fd);
extern void xfer_chat_open_buffer (struct t_xfer *xfer);
#endif /* xfer-chat.h */
#endif /* __WEECHAT_XFER_CHAT_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void xfer_command_init ();
#endif /* xfer-command.h */
#endif /* __WEECHAT_XFER_COMMAND_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void xfer_completion_init ();
#endif /* xfer-completion.h */
#endif /* __WEECHAT_XFER_COMPLETION_H */
+1 -1
View File
@@ -54,4 +54,4 @@ extern int xfer_config_init ();
extern int xfer_config_read ();
extern int xfer_config_write ();
#endif /* xfer-config.h */
#endif /* __WEECHAT_XFER_CONFIG_H */
+1 -1
View File
@@ -23,4 +23,4 @@
extern void xfer_dcc_send_file_child (struct t_xfer *xfer);
extern void xfer_dcc_recv_file_child (struct t_xfer *xfer);
#endif /* xfer-dcc.h */
#endif /* __WEECHAT_XFER_DCC_H */
+1 -1
View File
@@ -23,4 +23,4 @@
extern void xfer_file_find_filename (struct t_xfer *xfer);
extern void xfer_file_calculate_speed (struct t_xfer *xfer, int ended);
#endif /* xfer-file.h */
#endif /* __WEECHAT_XFER_FILE_H */
+1 -1
View File
@@ -22,4 +22,4 @@
extern void xfer_info_init ();
#endif /* xfer-info.h */
#endif /* __WEECHAT_XFER_INFO_H */
+1 -1
View File
@@ -27,4 +27,4 @@ extern void xfer_network_child_kill (struct t_xfer *xfer);
extern int xfer_network_connect (struct t_xfer *xfer);
extern void xfer_network_accept (struct t_xfer *xfer);
#endif /* xfer-network.h */
#endif /* __WEECHAT_XFER_NETWORK_H */
+1 -1
View File
@@ -32,4 +32,4 @@ enum t_xfer_upgrade_type
extern int xfer_upgrade_save ();
extern int xfer_upgrade_load ();
#endif /* xfer-upgrade.h */
#endif /* __WEECHAT_XFER_UPGRADE_H */
+1 -1
View File
@@ -167,4 +167,4 @@ extern void xfer_free (struct t_xfer *xfer);
extern int xfer_add_to_infolist (struct t_infolist *infolist,
struct t_xfer *xfer);
#endif /* xfer.h */
#endif /* __WEECHAT_XFER_H */