diff --git a/src/core/wee-backtrace.h b/src/core/wee-backtrace.h index 0979accc5..33ed79c7f 100644 --- a/src/core/wee-backtrace.h +++ b/src/core/wee-backtrace.h @@ -17,11 +17,11 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_BACKTACE_H -#define __WEECHAT_BACKTACE_H 1 +#ifndef WEECHAT_BACKTACE_H +#define WEECHAT_BACKTACE_H 1 #define BACKTRACE_MAX 128 extern void weechat_backtrace (); -#endif /* __WEECHAT_BACKTACE_H */ +#endif /* WEECHAT_BACKTACE_H */ diff --git a/src/core/wee-command.h b/src/core/wee-command.h index 9e4d8c3b6..aae1241b5 100644 --- a/src/core/wee-command.h +++ b/src/core/wee-command.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_COMMAND_H -#define __WEECHAT_COMMAND_H 1 +#ifndef WEECHAT_COMMAND_H +#define WEECHAT_COMMAND_H 1 #define COMMAND_CALLBACK(__command) \ int \ @@ -56,4 +56,4 @@ extern void command_version_display (struct t_gui_buffer *buffer, int translated_string, int display_git_version); -#endif /* __WEECHAT_COMMAND_H */ +#endif /* WEECHAT_COMMAND_H */ diff --git a/src/core/wee-completion.h b/src/core/wee-completion.h index 7b7b1ee2b..0ee221deb 100644 --- a/src/core/wee-completion.h +++ b/src/core/wee-completion.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_COMPLETION_H -#define __WEECHAT_COMPLETION_H 1 +#ifndef WEECHAT_COMPLETION_H +#define WEECHAT_COMPLETION_H 1 struct t_gui_buffer; struct t_gui_completion; @@ -29,4 +29,4 @@ extern int completion_list_add_filename_cb (void *data, struct t_gui_completion *completion); extern void completion_init (); -#endif /* __WEECHAT_COMPLETION_H */ +#endif /* WEECHAT_COMPLETION_H */ diff --git a/src/core/wee-config-file.h b/src/core/wee-config-file.h index 48a9474a1..f52ffb9ac 100644 --- a/src/core/wee-config-file.h +++ b/src/core/wee-config-file.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_CONFIG_FILE_H -#define __WEECHAT_CONFIG_FILE_H 1 +#ifndef WEECHAT_CONFIG_FILE_H +#define WEECHAT_CONFIG_FILE_H 1 #define CONFIG_BOOLEAN(option) (*((int *)((option)->value))) #define CONFIG_BOOLEAN_DEFAULT(option) (*((int *)((option)->default_value))) @@ -259,4 +259,4 @@ extern int config_file_add_to_infolist (struct t_infolist *infolist, const char *option_name); extern void config_file_print_log (); -#endif /* __WEECHAT_CONFIG_FILE_H */ +#endif /* WEECHAT_CONFIG_FILE_H */ diff --git a/src/core/wee-config.h b/src/core/wee-config.h index ac4c79d24..341983cb5 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_CONFIG_H -#define __WEECHAT_CONFIG_H 1 +#ifndef WEECHAT_CONFIG_H +#define WEECHAT_CONFIG_H 1 #include #include "wee-config-file.h" @@ -315,4 +315,4 @@ extern int config_weechat_read (); extern int config_weechat_write (); extern void config_weechat_free (); -#endif /* __WEECHAT_CONFIG_H */ +#endif /* WEECHAT_CONFIG_H */ diff --git a/src/core/wee-debug.h b/src/core/wee-debug.h index d2ce51b57..268fbb120 100644 --- a/src/core/wee-debug.h +++ b/src/core/wee-debug.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_DEBUG_H -#define __WEECHAT_DEBUG_H 1 +#ifndef WEECHAT_DEBUG_H +#define WEECHAT_DEBUG_H 1 struct t_gui_window_tree; @@ -31,4 +31,4 @@ extern void debug_infolists (); extern void debug_directories (); extern void debug_init (); -#endif /* __WEECHAT_DEBUG_H */ +#endif /* WEECHAT_DEBUG_H */ diff --git a/src/core/wee-eval.h b/src/core/wee-eval.h index 7af69c265..98c7957bf 100644 --- a/src/core/wee-eval.h +++ b/src/core/wee-eval.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EVAL_H -#define __WEECHAT_EVAL_H 1 +#ifndef WEECHAT_EVAL_H +#define WEECHAT_EVAL_H 1 #define EVAL_STR_FALSE "0" #define EVAL_STR_TRUE "1" @@ -53,4 +53,4 @@ extern char *eval_expression (const char *expr, struct t_hashtable *extra_vars, struct t_hashtable *options); -#endif /* __WEECHAT_EVAL_H */ +#endif /* WEECHAT_EVAL_H */ diff --git a/src/core/wee-hashtable.h b/src/core/wee-hashtable.h index 3d1dead3e..0473f796f 100644 --- a/src/core/wee-hashtable.h +++ b/src/core/wee-hashtable.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_HASHTABLE_H -#define __WEECHAT_HASHTABLE_H 1 +#ifndef WEECHAT_HASHTABLE_H +#define WEECHAT_HASHTABLE_H 1 struct t_hashtable; struct t_infolist_item; @@ -155,4 +155,4 @@ extern void hashtable_free (struct t_hashtable *hashtable); extern void hashtable_print_log (struct t_hashtable *hashtable, const char *name); -#endif /* __WEECHAT_HASHTABLE_H */ +#endif /* WEECHAT_HASHTABLE_H */ diff --git a/src/core/wee-hdata.h b/src/core/wee-hdata.h index 94857e754..abbd505e9 100644 --- a/src/core/wee-hdata.h +++ b/src/core/wee-hdata.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_HDATA_H -#define __WEECHAT_HDATA_H 1 +#ifndef WEECHAT_HDATA_H +#define WEECHAT_HDATA_H 1 #define HDATA_VAR(__struct, __name, __type, __update_allowed, \ __array_size, __hdata_name) \ @@ -127,4 +127,4 @@ extern void hdata_print_log (); extern void hdata_init (); extern void hdata_end (); -#endif /* __WEECHAT_HDATA_H */ +#endif /* WEECHAT_HDATA_H */ diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index 6e3d1b69b..da14dc22d 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_HOOK_H -#define __WEECHAT_HOOK_H 1 +#ifndef WEECHAT_HOOK_H +#define WEECHAT_HOOK_H 1 #include @@ -599,4 +599,4 @@ extern int hook_add_to_infolist (struct t_infolist *infolist, const char *arguments); extern void hook_print_log (); -#endif /* __WEECHAT_HOOK_H */ +#endif /* WEECHAT_HOOK_H */ diff --git a/src/core/wee-infolist.h b/src/core/wee-infolist.h index d3a47ef9f..e3377d5f3 100644 --- a/src/core/wee-infolist.h +++ b/src/core/wee-infolist.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_INFOLIST_H -#define __WEECHAT_INFOLIST_H 1 +#ifndef WEECHAT_INFOLIST_H +#define WEECHAT_INFOLIST_H 1 /* list structures */ @@ -107,4 +107,4 @@ extern void infolist_free (struct t_infolist *infolist); extern void infolist_free_all_plugin (struct t_weechat_plugin *plugin); extern void infolist_print_log (); -#endif /* __WEECHAT_INFOLIST_H */ +#endif /* WEECHAT_INFOLIST_H */ diff --git a/src/core/wee-input.h b/src/core/wee-input.h index 9fe2788e1..1234c9865 100644 --- a/src/core/wee-input.h +++ b/src/core/wee-input.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_INPUT_H -#define __WEECHAT_INPUT_H 1 +#ifndef WEECHAT_INPUT_H +#define WEECHAT_INPUT_H 1 struct t_gui_buffer; struct t_weechat_plugin; @@ -29,4 +29,4 @@ extern void input_exec_command (struct t_gui_buffer *buffer, const char *string); extern void input_data (struct t_gui_buffer *buffer, const char *data); -#endif /* __WEECHAT_INPUT_H */ +#endif /* WEECHAT_INPUT_H */ diff --git a/src/core/wee-list.h b/src/core/wee-list.h index 817247d5e..40490fa23 100644 --- a/src/core/wee-list.h +++ b/src/core/wee-list.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LIST_H -#define __WEECHAT_LIST_H 1 +#ifndef WEECHAT_LIST_H +#define WEECHAT_LIST_H 1 struct t_weelist_item { @@ -58,4 +58,4 @@ extern void weelist_remove_all (struct t_weelist *weelist); extern void weelist_free (struct t_weelist *weelist); extern void weelist_print_log (struct t_weelist *weelist, const char *name); -#endif /* __WEECHAT_LIST_H */ +#endif /* WEECHAT_LIST_H */ diff --git a/src/core/wee-log.h b/src/core/wee-log.h index 523f4419e..6bfa23fa4 100644 --- a/src/core/wee-log.h +++ b/src/core/wee-log.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOG_H -#define __WEECHAT_LOG_H 1 +#ifndef WEECHAT_LOG_H +#define WEECHAT_LOG_H 1 extern char *weechat_log_filename; extern FILE *weechat_log_file; @@ -30,4 +30,4 @@ extern void log_printf (const char *message, ...); extern void log_printf_hexa (const char *spaces, const char *string); extern int log_crash_rename (); -#endif /* __WEECHAT_LOG_H */ +#endif /* WEECHAT_LOG_H */ diff --git a/src/core/wee-network.h b/src/core/wee-network.h index c1b1c96b7..53b103fff 100644 --- a/src/core/wee-network.h +++ b/src/core/wee-network.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_NETWORK_H -#define __WEECHAT_NETWORK_H 1 +#ifndef WEECHAT_NETWORK_H +#define WEECHAT_NETWORK_H 1 #include #include @@ -55,4 +55,4 @@ extern int network_connect_to (const char *proxy, struct sockaddr *address, socklen_t address_length); extern void network_connect_with_fork (struct t_hook *hook_connect); -#endif /* __WEECHAT_NETWORK_H */ +#endif /* WEECHAT_NETWORK_H */ diff --git a/src/core/wee-proxy.h b/src/core/wee-proxy.h index b8743e2df..41cae206c 100644 --- a/src/core/wee-proxy.h +++ b/src/core/wee-proxy.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PROXY_H -#define __WEECHAT_PROXY_H 1 +#ifndef WEECHAT_PROXY_H +#define WEECHAT_PROXY_H 1 struct t_infolist; @@ -87,4 +87,4 @@ extern int proxy_add_to_infolist (struct t_infolist *infolist, struct t_proxy *proxy); extern void proxy_print_log (); -#endif /* __WEECHAT_PROXY_H */ +#endif /* WEECHAT_PROXY_H */ diff --git a/src/core/wee-secure.h b/src/core/wee-secure.h index 561a1b9dd..67e017db5 100644 --- a/src/core/wee-secure.h +++ b/src/core/wee-secure.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SECURE_H -#define __WEECHAT_SECURE_H 1 +#ifndef WEECHAT_SECURE_H +#define WEECHAT_SECURE_H 1 #define SECURE_CONFIG_NAME "sec" @@ -68,4 +68,4 @@ extern void secure_buffer_assign (); extern void secure_buffer_open (); extern void secure_end (); -#endif /* __WEECHAT_SECURE_H */ +#endif /* WEECHAT_SECURE_H */ diff --git a/src/core/wee-string.h b/src/core/wee-string.h index bf34cb2a3..044d3d0a5 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_STRING_H -#define __WEECHAT_STRING_H 1 +#ifndef WEECHAT_STRING_H +#define WEECHAT_STRING_H 1 #include @@ -97,4 +97,4 @@ extern const char *string_shared_get (const char *string); extern void string_shared_free (const char *string); extern void string_end (); -#endif /* __WEECHAT_STRING_H */ +#endif /* WEECHAT_STRING_H */ diff --git a/src/core/wee-upgrade-file.h b/src/core/wee-upgrade-file.h index 61de30325..738a76fbb 100644 --- a/src/core/wee-upgrade-file.h +++ b/src/core/wee-upgrade-file.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_UPGRADE_FILE_H -#define __WEECHAT_UPGRADE_FILE_H 1 +#ifndef WEECHAT_UPGRADE_FILE_H +#define WEECHAT_UPGRADE_FILE_H 1 #define UPGRADE_SIGNATURE "===== WeeChat Upgrade file v2.2 - binary, do not edit! =====" @@ -63,4 +63,4 @@ extern int upgrade_file_read (struct t_upgrade_file *upgrade_file, void *callback_read_data); extern void upgrade_file_close (struct t_upgrade_file *upgrade_file); -#endif /* __WEECHAT_UPGRADE_FILE_H */ +#endif /* WEECHAT_UPGRADE_FILE_H */ diff --git a/src/core/wee-upgrade.h b/src/core/wee-upgrade.h index 3bdee8965..acd50955d 100644 --- a/src/core/wee-upgrade.h +++ b/src/core/wee-upgrade.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_UPGRADE_H -#define __WEECHAT_UPGRADE_H 1 +#ifndef WEECHAT_UPGRADE_H +#define WEECHAT_UPGRADE_H 1 #include "wee-upgrade-file.h" @@ -41,4 +41,4 @@ int upgrade_weechat_save (); int upgrade_weechat_load (); void upgrade_weechat_end (); -#endif /* __WEECHAT_UPGRADE_H */ +#endif /* WEECHAT_UPGRADE_H */ diff --git a/src/core/wee-url.h b/src/core/wee-url.h index 659a0aca4..f7be423a5 100644 --- a/src/core/wee-url.h +++ b/src/core/wee-url.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_URL_H -#define __WEECHAT_URL_H 1 +#ifndef WEECHAT_URL_H +#define WEECHAT_URL_H 1 struct t_hashtable; struct t_infolist; @@ -57,4 +57,4 @@ extern int weeurl_download (const char *url, struct t_hashtable *options); extern int weeurl_option_add_to_infolist (struct t_infolist *infolist, struct t_url_option *option); -#endif /* __WEECHAT_URL_H */ +#endif /* WEECHAT_URL_H */ diff --git a/src/core/wee-utf8.h b/src/core/wee-utf8.h index 93708906b..0452165cb 100644 --- a/src/core/wee-utf8.h +++ b/src/core/wee-utf8.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_UTF8_H -#define __WEECHAT_UTF8_H 1 +#ifndef WEECHAT_UTF8_H +#define WEECHAT_UTF8_H 1 #ifndef __USE_XOPEN #define __USE_XOPEN @@ -51,4 +51,4 @@ extern int utf8_real_pos (const char *string, int pos); extern int utf8_pos (const char *string, int real_pos); extern char *utf8_strndup (const char *string, int length); -#endif /* __WEECHAT_UTF8_H */ +#endif /* WEECHAT_UTF8_H */ diff --git a/src/core/wee-util.h b/src/core/wee-util.h index e200f9061..2471868a6 100644 --- a/src/core/wee-util.h +++ b/src/core/wee-util.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_UTIL_H -#define __WEECHAT_UTIL_H 1 +#ifndef WEECHAT_UTIL_H +#define WEECHAT_UTIL_H 1 #ifdef HAVE_SYS_RESOURCE_H struct t_rlimit_resource @@ -53,4 +53,4 @@ extern char *util_search_full_lib_name (const char *filename, extern char *util_file_get_content (const char *filename); extern int util_version_number (const char *version); -#endif /* __WEECHAT_UTIL_H */ +#endif /* WEECHAT_UTIL_H */ diff --git a/src/core/wee-version.h b/src/core/wee-version.h index ff027719e..ee8db55fc 100644 --- a/src/core/wee-version.h +++ b/src/core/wee-version.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_VERSION_H -#define __WEECHAT_VERSION_H 1 +#ifndef WEECHAT_VERSION_H +#define WEECHAT_VERSION_H 1 extern const char *version_get_name (); extern const char *version_get_version (); @@ -28,4 +28,4 @@ extern const char *version_get_version_with_git (); extern const char *version_get_compilation_date (); extern const char *version_get_compilation_time (); -#endif /* __WEECHAT_VERSION_H */ +#endif /* WEECHAT_VERSION_H */ diff --git a/src/core/weechat.h b/src/core/weechat.h index c9a6d9084..446dff382 100644 --- a/src/core/weechat.h +++ b/src/core/weechat.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_H -#define __WEECHAT_H 1 +#ifndef WEECHAT_H +#define WEECHAT_H 1 #ifdef HAVE_CONFIG_H #include "config.h" @@ -108,4 +108,4 @@ extern char *weechat_startup_commands; extern void weechat_shutdown (int return_code, int crash); -#endif /* __WEECHAT_H */ +#endif /* WEECHAT_H */ diff --git a/src/gui/curses/gui-curses.h b/src/gui/curses/gui-curses.h index 7553e842f..e2047d53c 100644 --- a/src/gui/curses/gui-curses.h +++ b/src/gui/curses/gui-curses.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_CURSES_H -#define __WEECHAT_GUI_CURSES_H 1 +#ifndef WEECHAT_GUI_CURSES_H +#define WEECHAT_GUI_CURSES_H 1 #include @@ -134,4 +134,4 @@ extern void gui_window_vline (WINDOW *window, int x, int y, int height, const char *string); extern void gui_window_set_title (const char *title); -#endif /* __WEECHAT_GUI_CURSES_H */ +#endif /* WEECHAT_GUI_CURSES_H */ diff --git a/src/gui/gui-bar-item.h b/src/gui/gui-bar-item.h index 3bbede885..58a4f429f 100644 --- a/src/gui/gui-bar-item.h +++ b/src/gui/gui-bar-item.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_BAR_ITEM_H -#define __WEECHAT_GUI_BAR_ITEM_H 1 +#ifndef WEECHAT_GUI_BAR_ITEM_H +#define WEECHAT_GUI_BAR_ITEM_H 1 enum t_gui_bar_item_weechat { @@ -113,4 +113,4 @@ extern int gui_bar_item_add_to_infolist (struct t_infolist *infolist, struct t_gui_bar_item *bar_item); extern void gui_bar_item_print_log (); -#endif /* __WEECHAT_GUI_BAR_ITEM_H */ +#endif /* WEECHAT_GUI_BAR_ITEM_H */ diff --git a/src/gui/gui-bar-window.h b/src/gui/gui-bar-window.h index 10d36d281..ff7364513 100644 --- a/src/gui/gui-bar-window.h +++ b/src/gui/gui-bar-window.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_BAR_WINDOW_H -#define __WEECHAT_GUI_BAR_WINDOW_H 1 +#ifndef WEECHAT_GUI_BAR_WINDOW_H +#define WEECHAT_GUI_BAR_WINDOW_H 1 struct t_infolist; struct t_gui_buffer; @@ -119,4 +119,4 @@ extern void gui_bar_window_draw (struct t_gui_bar_window *bar_window, struct t_gui_window *window); extern void gui_bar_window_objects_print_log (struct t_gui_bar_window *bar_window); -#endif /* __WEECHAT_GUI_BAR_WINDOW_H */ +#endif /* WEECHAT_GUI_BAR_WINDOW_H */ diff --git a/src/gui/gui-bar.h b/src/gui/gui-bar.h index 913ddcb85..974a54b87 100644 --- a/src/gui/gui-bar.h +++ b/src/gui/gui-bar.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_BAR_H -#define __WEECHAT_GUI_BAR_H 1 +#ifndef WEECHAT_GUI_BAR_H +#define WEECHAT_GUI_BAR_H 1 struct t_infolist; struct t_weechat_plugin; @@ -159,4 +159,4 @@ extern int gui_bar_add_to_infolist (struct t_infolist *infolist, struct t_gui_bar *bar); extern void gui_bar_print_log (); -#endif /* __WEECHAT_GUI_BAR_H */ +#endif /* WEECHAT_GUI_BAR_H */ diff --git a/src/gui/gui-buffer.h b/src/gui/gui-buffer.h index e3552aa73..c9d8e2674 100644 --- a/src/gui/gui-buffer.h +++ b/src/gui/gui-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_BUFFER_H -#define __WEECHAT_GUI_BUFFER_H 1 +#ifndef WEECHAT_GUI_BUFFER_H +#define WEECHAT_GUI_BUFFER_H 1 #include #include @@ -330,4 +330,4 @@ extern int gui_buffer_add_to_infolist (struct t_infolist *infolist, extern void gui_buffer_dump_hexa (struct t_gui_buffer *buffer); extern void gui_buffer_print_log (); -#endif /* __WEECHAT_GUI_BUFFER_H */ +#endif /* WEECHAT_GUI_BUFFER_H */ diff --git a/src/gui/gui-chat.h b/src/gui/gui-chat.h index 6ce047b92..a8a11c42a 100644 --- a/src/gui/gui-chat.h +++ b/src/gui/gui-chat.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_CHAT_H -#define __WEECHAT_GUI_CHAT_H 1 +#ifndef WEECHAT_GUI_CHAT_H +#define WEECHAT_GUI_CHAT_H 1 struct t_hashtable; struct t_gui_window; @@ -105,4 +105,4 @@ 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 */ +#endif /* WEECHAT_GUI_CHAT_H */ diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h index b19a500f7..fb4b86a09 100644 --- a/src/gui/gui-color.h +++ b/src/gui/gui-color.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_COLOR_H -#define __WEECHAT_GUI_COLOR_H 1 +#ifndef WEECHAT_GUI_COLOR_H +#define WEECHAT_GUI_COLOR_H 1 #include @@ -213,4 +213,4 @@ extern struct t_gui_color_palette *gui_color_palette_new (int number, extern void gui_color_palette_free (struct t_gui_color_palette *color_palette); extern void gui_color_dump (); -#endif /* __WEECHAT_GUI_COLOR_H */ +#endif /* WEECHAT_GUI_COLOR_H */ diff --git a/src/gui/gui-completion.h b/src/gui/gui-completion.h index ab5304cc8..7192779de 100644 --- a/src/gui/gui-completion.h +++ b/src/gui/gui-completion.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_COMPLETION_H -#define __WEECHAT_GUI_COMPLETION_H 1 +#ifndef WEECHAT_GUI_COMPLETION_H +#define WEECHAT_GUI_COMPLETION_H 1 #define GUI_COMPLETION_NULL 0 #define GUI_COMPLETION_COMMAND 1 @@ -87,4 +87,4 @@ extern struct t_hdata *gui_completion_hdata_completion_partial_cb (void *data, const char *hdata_name); extern void gui_completion_print_log (struct t_gui_completion *completion); -#endif /* __WEECHAT_GUI_COMPLETION_H */ +#endif /* WEECHAT_GUI_COMPLETION_H */ diff --git a/src/gui/gui-cursor.h b/src/gui/gui-cursor.h index 7f74da36e..749b40b2d 100644 --- a/src/gui/gui-cursor.h +++ b/src/gui/gui-cursor.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_CURSOR_H -#define __WEECHAT_GUI_CURSOR_H 1 +#ifndef WEECHAT_GUI_CURSOR_H +#define WEECHAT_GUI_CURSOR_H 1 /* cursor variables */ @@ -36,4 +36,4 @@ extern void gui_cursor_move_add_xy (int add_x, int add_y); extern void gui_cursor_move_area_add_xy (int add_x, int add_y); extern void gui_cursor_move_area (const char *area); -#endif /* __WEECHAT_GUI_CURSOR_H */ +#endif /* WEECHAT_GUI_CURSOR_H */ diff --git a/src/gui/gui-filter.h b/src/gui/gui-filter.h index ac5ae92b8..6bf5cf7e5 100644 --- a/src/gui/gui-filter.h +++ b/src/gui/gui-filter.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_FILTER_H -#define __WEECHAT_GUI_FILTER_H 1 +#ifndef WEECHAT_GUI_FILTER_H +#define WEECHAT_GUI_FILTER_H 1 #include @@ -75,4 +75,4 @@ extern int gui_filter_add_to_infolist (struct t_infolist *infolist, struct t_gui_filter *filter); extern void gui_filter_print_log (); -#endif /* __WEECHAT_GUI_FILTER_H */ +#endif /* WEECHAT_GUI_FILTER_H */ diff --git a/src/gui/gui-focus.h b/src/gui/gui-focus.h index eb45238d4..fd62af7df 100644 --- a/src/gui/gui-focus.h +++ b/src/gui/gui-focus.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_FOCUS_H -#define __WEECHAT_GUI_FOCUS 1 +#ifndef WEECHAT_GUI_FOCUS_H +#define WEECHAT_GUI_FOCUS 1 /* focus structures */ @@ -46,4 +46,4 @@ extern void gui_focus_free_info (struct t_gui_focus_info *focus_info); extern struct t_hashtable *gui_focus_to_hashtable (struct t_gui_focus_info *focus_info, const char *key); -#endif /* __WEECHAT_GUI_FOCUS_H */ +#endif /* WEECHAT_GUI_FOCUS_H */ diff --git a/src/gui/gui-history.h b/src/gui/gui-history.h index 2a5d67d3e..df22e5584 100644 --- a/src/gui/gui-history.h +++ b/src/gui/gui-history.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_HISTORY_H -#define __WEECHAT_GUI_HISTORY_H 1 +#ifndef WEECHAT_GUI_HISTORY_H +#define WEECHAT_GUI_HISTORY_H 1 struct t_gui_buffer; @@ -44,4 +44,4 @@ extern struct t_hdata *gui_history_hdata_history_cb (void *data, extern int gui_history_add_to_infolist (struct t_infolist *infolist, struct t_gui_history *history); -#endif /* __WEECHAT_GUI_HISTORY_H */ +#endif /* WEECHAT_GUI_HISTORY_H */ diff --git a/src/gui/gui-hotlist.h b/src/gui/gui-hotlist.h index 89405a78b..18cec9702 100644 --- a/src/gui/gui-hotlist.h +++ b/src/gui/gui-hotlist.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_HOTLIST_H -#define __WEECHAT_GUI_HOTLIST_H 1 +#ifndef WEECHAT_GUI_HOTLIST_H +#define WEECHAT_GUI_HOTLIST_H 1 enum t_gui_hotlist_priority { @@ -67,4 +67,4 @@ extern int gui_hotlist_add_to_infolist (struct t_infolist *infolist, extern void gui_hotlist_print_log (); extern void gui_hotlist_end (); -#endif /* __WEECHAT_GUI_HOTLIST_H */ +#endif /* WEECHAT_GUI_HOTLIST_H */ diff --git a/src/gui/gui-input.h b/src/gui/gui-input.h index 4ecd429f6..c5d0df681 100644 --- a/src/gui/gui-input.h +++ b/src/gui/gui-input.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_INPUT_H -#define __WEECHAT_GUI_INPUT_H 1 +#ifndef WEECHAT_GUI_INPUT_H +#define WEECHAT_GUI_INPUT_H 1 struct t_gui_buffer; @@ -86,4 +86,4 @@ extern void gui_input_insert (struct t_gui_buffer *buffer, const char *args); extern void gui_input_undo (struct t_gui_buffer *buffer); extern void gui_input_redo (struct t_gui_buffer *buffer); -#endif /* __WEECHAT_GUI_INPUT_H */ +#endif /* WEECHAT_GUI_INPUT_H */ diff --git a/src/gui/gui-key.h b/src/gui/gui-key.h index 421c7a5c5..fc3fc4a05 100644 --- a/src/gui/gui-key.h +++ b/src/gui/gui-key.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_KEY_H -#define __WEECHAT_GUI_KEY_H 1 +#ifndef WEECHAT_GUI_KEY_H +#define WEECHAT_GUI_KEY_H 1 struct t_hashtable; @@ -142,4 +142,4 @@ extern void gui_key_print_log (struct t_gui_buffer *buffer); extern void gui_key_default_bindings (); -#endif /* __WEECHAT_GUI_KEY_H */ +#endif /* WEECHAT_GUI_KEY_H */ diff --git a/src/gui/gui-layout.h b/src/gui/gui-layout.h index 527c51cf8..ca02ae99e 100644 --- a/src/gui/gui-layout.h +++ b/src/gui/gui-layout.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_LAYOUT_H -#define __WEECHAT_GUI_LAYOUT_H 1 +#ifndef WEECHAT_GUI_LAYOUT_H +#define WEECHAT_GUI_LAYOUT_H 1 #define GUI_LAYOUT_DEFAULT_NAME "default" @@ -129,4 +129,4 @@ extern void gui_layout_print_log (); extern void gui_layout_init (); extern void gui_layout_end (); -#endif /* __WEECHAT_GUI_LAYOUT_H */ +#endif /* WEECHAT_GUI_LAYOUT_H */ diff --git a/src/gui/gui-line.h b/src/gui/gui-line.h index b402f414a..595f622b7 100644 --- a/src/gui/gui-line.h +++ b/src/gui/gui-line.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_LINE_H -#define __WEECHAT_GUI_LINE_H 1 +#ifndef WEECHAT_GUI_LINE_H +#define WEECHAT_GUI_LINE_H 1 #include @@ -124,4 +124,4 @@ extern int gui_line_add_to_infolist (struct t_infolist *infolist, struct t_gui_line *line); extern void gui_lines_print_log (struct t_gui_lines *lines); -#endif /* __WEECHAT_GUI_LINE_H */ +#endif /* WEECHAT_GUI_LINE_H */ diff --git a/src/gui/gui-main.h b/src/gui/gui-main.h index 180d0f935..f66e4dbd9 100644 --- a/src/gui/gui-main.h +++ b/src/gui/gui-main.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_MAIN_H -#define __WEECHAT_GUI_MAIN_H 1 +#ifndef WEECHAT_GUI_MAIN_H +#define WEECHAT_GUI_MAIN_H 1 /* main functions (GUI dependent) */ @@ -34,4 +34,4 @@ extern void gui_main_end (int clean_exit); /* terminal functions (GUI dependent) */ extern void gui_term_set_eat_newline_glitch (int value); -#endif /* __WEECHAT_GUI_MAIN_H */ +#endif /* WEECHAT_GUI_MAIN_H */ diff --git a/src/gui/gui-mouse.h b/src/gui/gui-mouse.h index de66507cb..0a039cc4b 100644 --- a/src/gui/gui-mouse.h +++ b/src/gui/gui-mouse.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_MOUSE_H -#define __WEECHAT_GUI_MOUSE_H 1 +#ifndef WEECHAT_GUI_MOUSE_H +#define WEECHAT_GUI_MOUSE_H 1 /* mouse variables */ @@ -46,4 +46,4 @@ extern void gui_mouse_grab_init (int area); extern void gui_mouse_event_init (); extern void gui_mouse_event_end (); -#endif /* __WEECHAT_GUI_MOUSE_H */ +#endif /* WEECHAT_GUI_MOUSE_H */ diff --git a/src/gui/gui-nicklist.h b/src/gui/gui-nicklist.h index 2064374d6..ff882d8be 100644 --- a/src/gui/gui-nicklist.h +++ b/src/gui/gui-nicklist.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_NICKLIST_H -#define __WEECHAT_GUI_NICKLIST_H 1 +#ifndef WEECHAT_GUI_NICKLIST_H +#define WEECHAT_GUI_NICKLIST_H 1 struct t_gui_buffer; struct t_infolist; @@ -118,4 +118,4 @@ extern int gui_nicklist_add_to_infolist (struct t_infolist *infolist, extern void gui_nicklist_print_log (struct t_gui_nick_group *group, int indent); extern void gui_nicklist_end (); -#endif /* __WEECHAT_GUI_NICKLIST_H */ +#endif /* WEECHAT_GUI_NICKLIST_H */ diff --git a/src/gui/gui-window.h b/src/gui/gui-window.h index 0c17cbb73..ac4f7ec58 100644 --- a/src/gui/gui-window.h +++ b/src/gui/gui-window.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUI_WINDOW_H -#define __WEECHAT_GUI_WINDOW_H 1 +#ifndef WEECHAT_GUI_WINDOW_H +#define WEECHAT_GUI_WINDOW_H 1 struct t_infolist; struct t_gui_bar_window; @@ -240,4 +240,4 @@ extern void gui_window_move_cursor (); extern void gui_window_term_display_infos (); extern void gui_window_objects_print_log (struct t_gui_window *window); -#endif /* __WEECHAT_GUI_WINDOW_H */ +#endif /* WEECHAT_GUI_WINDOW_H */ diff --git a/src/plugins/alias/alias-config.h b/src/plugins/alias/alias-config.h index 967146e0a..e05791326 100644 --- a/src/plugins/alias/alias-config.h +++ b/src/plugins/alias/alias-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ALIAS_CONFIG_H -#define __WEECHAT_ALIAS_CONFIG_H 1 +#ifndef WEECHAT_ALIAS_CONFIG_H +#define WEECHAT_ALIAS_CONFIG_H 1 extern struct t_config_file *alias_config_file; extern struct t_config_section *alias_config_section_cmd; @@ -32,4 +32,4 @@ extern int alias_config_init (); extern int alias_config_read (); extern int alias_config_write (); -#endif /* __WEECHAT_ALIAS_CONFIG_H */ +#endif /* WEECHAT_ALIAS_CONFIG_H */ diff --git a/src/plugins/alias/alias-info.h b/src/plugins/alias/alias-info.h index 4988e837c..f5066fb1b 100644 --- a/src/plugins/alias/alias-info.h +++ b/src/plugins/alias/alias-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ALIAS_INFO_H -#define __WEECHAT_ALIAS_INFO_H 1 +#ifndef WEECHAT_ALIAS_INFO_H +#define WEECHAT_ALIAS_INFO_H 1 extern void alias_info_init (); -#endif /* __WEECHAT_ALIAS_INFO_H */ +#endif /* WEECHAT_ALIAS_INFO_H */ diff --git a/src/plugins/alias/alias.h b/src/plugins/alias/alias.h index 70a9f473c..f6169c6bf 100644 --- a/src/plugins/alias/alias.h +++ b/src/plugins/alias/alias.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ALIAS_H -#define __WEECHAT_ALIAS_H 1 +#ifndef WEECHAT_ALIAS_H +#define WEECHAT_ALIAS_H 1 #define weechat_plugin weechat_alias_plugin #define ALIAS_PLUGIN_NAME "alias" @@ -52,4 +52,4 @@ extern void alias_free_all (); extern int alias_add_to_infolist (struct t_infolist *infolist, struct t_alias *alias); -#endif /* __WEECHAT_ALIAS_H */ +#endif /* WEECHAT_ALIAS_H */ diff --git a/src/plugins/aspell/weechat-aspell-bar-item.h b/src/plugins/aspell/weechat-aspell-bar-item.h index 019ec4f51..678bf9732 100644 --- a/src/plugins/aspell/weechat-aspell-bar-item.h +++ b/src/plugins/aspell/weechat-aspell-bar-item.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_BAR_ITEM_H -#define __WEECHAT_ASPELL_BAR_ITEM_H 1 +#ifndef WEECHAT_ASPELL_BAR_ITEM_H +#define WEECHAT_ASPELL_BAR_ITEM_H 1 extern void weechat_aspell_bar_item_init (); -#endif /* __WEECHAT_ASPELL_BAR_ITEM_H */ +#endif /* WEECHAT_ASPELL_BAR_ITEM_H */ diff --git a/src/plugins/aspell/weechat-aspell-command.h b/src/plugins/aspell/weechat-aspell-command.h index 3fb6699c0..0bccaff5c 100644 --- a/src/plugins/aspell/weechat-aspell-command.h +++ b/src/plugins/aspell/weechat-aspell-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_COMMAND_H -#define __WEECHAT_ASPELL_COMMAND_H 1 +#ifndef WEECHAT_ASPELL_COMMAND_H +#define WEECHAT_ASPELL_COMMAND_H 1 extern void weechat_aspell_command_init (); -#endif /* __WEECHAT_ASPELL_COMMAND_H */ +#endif /* WEECHAT_ASPELL_COMMAND_H */ diff --git a/src/plugins/aspell/weechat-aspell-completion.h b/src/plugins/aspell/weechat-aspell-completion.h index c248ce9b2..eb062806c 100644 --- a/src/plugins/aspell/weechat-aspell-completion.h +++ b/src/plugins/aspell/weechat-aspell-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_COMPLETION_H -#define __WEECHAT_ASPELL_COMPLETION_H 1 +#ifndef WEECHAT_ASPELL_COMPLETION_H +#define WEECHAT_ASPELL_COMPLETION_H 1 extern void weechat_aspell_completion_init (); -#endif /* __WEECHAT_ASPELL_COMPLETION_H */ +#endif /* WEECHAT_ASPELL_COMPLETION_H */ diff --git a/src/plugins/aspell/weechat-aspell-config.h b/src/plugins/aspell/weechat-aspell-config.h index 6e3d5ba0e..0dfc4aaf4 100644 --- a/src/plugins/aspell/weechat-aspell-config.h +++ b/src/plugins/aspell/weechat-aspell-config.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_CONFIG_H -#define __WEECHAT_ASPELL_CONFIG_H 1 +#ifndef WEECHAT_ASPELL_CONFIG_H +#define WEECHAT_ASPELL_CONFIG_H 1 #define ASPELL_CONFIG_NAME "aspell" @@ -46,4 +46,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 */ diff --git a/src/plugins/aspell/weechat-aspell-info.h b/src/plugins/aspell/weechat-aspell-info.h index 3a5a96238..795e6bd2a 100644 --- a/src/plugins/aspell/weechat-aspell-info.h +++ b/src/plugins/aspell/weechat-aspell-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_INFO_H -#define __WEECHAT_ASPELL_INFO_H 1 +#ifndef WEECHAT_ASPELL_INFO_H +#define WEECHAT_ASPELL_INFO_H 1 extern void weechat_aspell_info_init (); -#endif /* __WEECHAT_ASPELL_INFO_H */ +#endif /* WEECHAT_ASPELL_INFO_H */ diff --git a/src/plugins/aspell/weechat-aspell-speller.h b/src/plugins/aspell/weechat-aspell-speller.h index cb053b0f2..2a034feb0 100644 --- a/src/plugins/aspell/weechat-aspell-speller.h +++ b/src/plugins/aspell/weechat-aspell-speller.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_SPELLER_H -#define __WEECHAT_ASPELL_SPELLER_H 1 +#ifndef WEECHAT_ASPELL_SPELLER_H +#define WEECHAT_ASPELL_SPELLER_H 1 struct t_aspell_speller_buffer { @@ -48,4 +48,4 @@ extern struct t_aspell_speller_buffer *weechat_aspell_speller_buffer_new (struct extern int weechat_aspell_speller_init (); extern void weechat_aspell_speller_end (); -#endif /* __WEECHAT_ASPELL_SPELLER_H */ +#endif /* WEECHAT_ASPELL_SPELLER_H */ diff --git a/src/plugins/aspell/weechat-aspell.h b/src/plugins/aspell/weechat-aspell.h index 8164094b9..d081e4cb7 100644 --- a/src/plugins/aspell/weechat-aspell.h +++ b/src/plugins/aspell/weechat-aspell.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_ASPELL_H -#define __WEECHAT_ASPELL_H 1 +#ifndef WEECHAT_ASPELL_H +#define WEECHAT_ASPELL_H 1 #ifdef USE_ENCHANT #include @@ -49,4 +49,4 @@ extern char *weechat_aspell_build_option_name (struct t_gui_buffer *buffer); extern const char *weechat_aspell_get_dict_with_buffer_name (const char *name); extern const char *weechat_aspell_get_dict (struct t_gui_buffer *buffer); -#endif /* __WEECHAT_ASPELL_H */ +#endif /* WEECHAT_ASPELL_H */ diff --git a/src/plugins/exec/exec-buffer.h b/src/plugins/exec/exec-buffer.h index 42e519888..041c73720 100644 --- a/src/plugins/exec/exec-buffer.h +++ b/src/plugins/exec/exec-buffer.h @@ -17,11 +17,11 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EXEC_BUFFER_H -#define __WEECHAT_EXEC_BUFFER_H 1 +#ifndef WEECHAT_EXEC_BUFFER_H +#define WEECHAT_EXEC_BUFFER_H 1 extern void exec_buffer_set_callbacks (); extern struct t_gui_buffer *exec_buffer_new (const char *name, int switch_to_buffer); -#endif /* __WEECHAT_EXEC_BUFFER_H */ +#endif /* WEECHAT_EXEC_BUFFER_H */ diff --git a/src/plugins/exec/exec-command.h b/src/plugins/exec/exec-command.h index 373dff44b..0e8e323f9 100644 --- a/src/plugins/exec/exec-command.h +++ b/src/plugins/exec/exec-command.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EXEC_COMMAND_H -#define __WEECHAT_EXEC_COMMAND_H 1 +#ifndef WEECHAT_EXEC_COMMAND_H +#define WEECHAT_EXEC_COMMAND_H 1 struct t_exec_cmd_options { @@ -45,4 +45,4 @@ extern int exec_command_run (struct t_gui_buffer *buffer, int start_arg); extern void exec_command_init (); -#endif /* __WEECHAT_EXEC_COMMAND_H */ +#endif /* WEECHAT_EXEC_COMMAND_H */ diff --git a/src/plugins/exec/exec-completion.h b/src/plugins/exec/exec-completion.h index a01bb03cf..373ce8b61 100644 --- a/src/plugins/exec/exec-completion.h +++ b/src/plugins/exec/exec-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EXEC_COMPLETION_H -#define __WEECHAT_EXEC_COMPLETION_H 1 +#ifndef WEECHAT_EXEC_COMPLETION_H +#define WEECHAT_EXEC_COMPLETION_H 1 extern void exec_completion_init (); -#endif /* __WEECHAT_EXEC_COMPLETION_H */ +#endif /* WEECHAT_EXEC_COMPLETION_H */ diff --git a/src/plugins/exec/exec-config.h b/src/plugins/exec/exec-config.h index 9963fd092..90e89a8dd 100644 --- a/src/plugins/exec/exec-config.h +++ b/src/plugins/exec/exec-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EXEC_CONFIG_H -#define __WEECHAT_EXEC_CONFIG_H 1 +#ifndef WEECHAT_EXEC_CONFIG_H +#define WEECHAT_EXEC_CONFIG_H 1 #define EXEC_CONFIG_NAME "exec" #define EXEC_CONFIG_SECTION_EXEC "exec" @@ -39,4 +39,4 @@ extern int exec_config_read (); extern int exec_config_write (); extern void exec_config_free (); -#endif /* __WEECHAT_EXEC_CONFIG_H */ +#endif /* WEECHAT_EXEC_CONFIG_H */ diff --git a/src/plugins/exec/exec.h b/src/plugins/exec/exec.h index 5e3bdd616..3cb50d56d 100644 --- a/src/plugins/exec/exec.h +++ b/src/plugins/exec/exec.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_EXEC_H -#define __WEECHAT_EXEC_H 1 +#ifndef WEECHAT_EXEC_H +#define WEECHAT_EXEC_H 1 #include @@ -83,4 +83,4 @@ extern int exec_process_cb (void *data, const char *command, int return_code, extern void exec_free (struct t_exec_cmd *exec_cmd); extern void exec_free_all (); -#endif /* __WEECHAT_EXEC_H */ +#endif /* WEECHAT_EXEC_H */ diff --git a/src/plugins/fifo/fifo-info.h b/src/plugins/fifo/fifo-info.h index 05401b694..183cd1edd 100644 --- a/src/plugins/fifo/fifo-info.h +++ b/src/plugins/fifo/fifo-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_FIFO_INFO_H -#define __WEECHAT_FIFO_INFO_H 1 +#ifndef WEECHAT_FIFO_INFO_H +#define WEECHAT_FIFO_INFO_H 1 extern void fifo_info_init (); -#endif /* __WEECHAT_FIFO_INFO_H */ +#endif /* WEECHAT_FIFO_INFO_H */ diff --git a/src/plugins/fifo/fifo.h b/src/plugins/fifo/fifo.h index c640d60c3..f53d78352 100644 --- a/src/plugins/fifo/fifo.h +++ b/src/plugins/fifo/fifo.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_FIFO_H -#define __WEECHAT_FIFO_H 1 +#ifndef WEECHAT_FIFO_H +#define WEECHAT_FIFO_H 1 #define weechat_plugin weechat_fifo_plugin #define FIFO_PLUGIN_NAME "fifo" @@ -26,4 +26,4 @@ extern struct t_weechat_plugin *weechat_fifo_plugin; extern char *fifo_filename; -#endif /* __WEECHAT_FIFO_H */ +#endif /* WEECHAT_FIFO_H */ diff --git a/src/plugins/guile/weechat-guile-api.h b/src/plugins/guile/weechat-guile-api.h index 5a970e854..dba1f1815 100644 --- a/src/plugins/guile/weechat-guile-api.h +++ b/src/plugins/guile/weechat-guile-api.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUILE_API_H -#define __WEECHAT_GUILE_API_H 1 +#ifndef WEECHAT_GUILE_API_H +#define WEECHAT_GUILE_API_H 1 extern int weechat_guile_api_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, @@ -27,4 +27,4 @@ extern int weechat_guile_api_buffer_close_cb (void *data, struct t_gui_buffer *buffer); extern void weechat_guile_api_module_init (void *data); -#endif /* __WEECHAT_GUILE_API_H */ +#endif /* WEECHAT_GUILE_API_H */ diff --git a/src/plugins/guile/weechat-guile.h b/src/plugins/guile/weechat-guile.h index b89c0e71c..a5ec05923 100644 --- a/src/plugins/guile/weechat-guile.h +++ b/src/plugins/guile/weechat-guile.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_GUILE_H -#define __WEECHAT_GUILE_H 1 +#ifndef WEECHAT_GUILE_H +#define WEECHAT_GUILE_H 1 #define weechat_plugin weechat_guile_plugin #define GUILE_PLUGIN_NAME "guile" @@ -46,4 +46,4 @@ extern void *weechat_guile_exec (struct t_plugin_script *script, extern int weechat_guile_port_fill_input (SCM port); extern void weechat_guile_port_write (SCM port, const void *data, size_t size); -#endif /* __WEECHAT_GUILE_H */ +#endif /* WEECHAT_GUILE_H */ diff --git a/src/plugins/irc/irc-bar-item.h b/src/plugins/irc/irc-bar-item.h index d0ae53a6c..a48076784 100644 --- a/src/plugins/irc/irc-bar-item.h +++ b/src/plugins/irc/irc-bar-item.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_BAR_ITEM_H -#define __WEECHAT_IRC_BAR_ITEM_H 1 +#ifndef WEECHAT_IRC_BAR_ITEM_H +#define WEECHAT_IRC_BAR_ITEM_H 1 extern void irc_bar_item_init (); -#endif /* __WEECHAT_IRC_BAR_ITEM_H */ +#endif /* WEECHAT_IRC_BAR_ITEM_H */ diff --git a/src/plugins/irc/irc-buffer.h b/src/plugins/irc/irc-buffer.h index 4dd861e9e..90a5ae583 100644 --- a/src/plugins/irc/irc-buffer.h +++ b/src/plugins/irc/irc-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_BUFFER_H -#define __WEECHAT_IRC_BUFFER_H 1 +#ifndef WEECHAT_IRC_BUFFER_H +#define WEECHAT_IRC_BUFFER_H 1 #define IRC_BUFFER_GET_SERVER(__buffer) \ struct t_weechat_plugin *buffer_plugin = NULL; \ @@ -60,4 +60,4 @@ extern int irc_buffer_nickcmp_cb (void *data, extern struct t_gui_buffer *irc_buffer_search_server_lowest_number (); extern struct t_gui_buffer *irc_buffer_search_private_lowest_number (struct t_irc_server *server); -#endif /* __WEECHAT_IRC_BUFFER_H */ +#endif /* WEECHAT_IRC_BUFFER_H */ diff --git a/src/plugins/irc/irc-channel.h b/src/plugins/irc/irc-channel.h index f9957d195..f7b4314d9 100644 --- a/src/plugins/irc/irc-channel.h +++ b/src/plugins/irc/irc-channel.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_CHANNEL_H -#define __WEECHAT_IRC_CHANNEL_H 1 +#ifndef WEECHAT_IRC_CHANNEL_H +#define WEECHAT_IRC_CHANNEL_H 1 #define IRC_CHANNEL_DEFAULT_CHANTYPES "#&+!" @@ -150,4 +150,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 /* __WEECHAT_IRC_CHANNEL_H */ +#endif /* WEECHAT_IRC_CHANNEL_H */ diff --git a/src/plugins/irc/irc-color.h b/src/plugins/irc/irc-color.h index 5136d7690..8c7e14b3a 100644 --- a/src/plugins/irc/irc-color.h +++ b/src/plugins/irc/irc-color.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_COLOR_H -#define __WEECHAT_IRC_COLOR_H 1 +#ifndef WEECHAT_IRC_COLOR_H +#define WEECHAT_IRC_COLOR_H 1 #define IRC_NUM_COLORS 16 @@ -110,4 +110,4 @@ extern char *irc_color_modifier_cb (void *data, const char *modifier, extern char *irc_color_for_tags (const char *color); extern void irc_color_end (); -#endif /* __WEECHAT_IRC_COLOR_H */ +#endif /* WEECHAT_IRC_COLOR_H */ diff --git a/src/plugins/irc/irc-command.h b/src/plugins/irc/irc-command.h index 8f76fb034..bb5c5342a 100644 --- a/src/plugins/irc/irc-command.h +++ b/src/plugins/irc/irc-command.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_COMMAND_H -#define __WEECHAT_IRC_COMMAND_H 1 +#ifndef WEECHAT_IRC_COMMAND_H +#define WEECHAT_IRC_COMMAND_H 1 struct t_irc_server; struct t_irc_channel; @@ -61,4 +61,4 @@ extern void irc_command_quit_server (struct t_irc_server *server, const char *arguments); extern void irc_command_init (); -#endif /* __WEECHAT_IRC_COMMAND_H */ +#endif /* WEECHAT_IRC_COMMAND_H */ diff --git a/src/plugins/irc/irc-completion.h b/src/plugins/irc/irc-completion.h index 89a87644a..2277a900b 100644 --- a/src/plugins/irc/irc-completion.h +++ b/src/plugins/irc/irc-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_COMPLETION_H -#define __WEECHAT_IRC_COMPLETION_H 1 +#ifndef WEECHAT_IRC_COMPLETION_H +#define WEECHAT_IRC_COMPLETION_H 1 extern void irc_completion_init (); -#endif /* __WEECHAT_IRC_COMPLETION_H */ +#endif /* WEECHAT_IRC_COMPLETION_H */ diff --git a/src/plugins/irc/irc-config.h b/src/plugins/irc/irc-config.h index a0084f06e..cd9c2f042 100644 --- a/src/plugins/irc/irc-config.h +++ b/src/plugins/irc/irc-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_CONFIG_H -#define __WEECHAT_IRC_CONFIG_H 1 +#ifndef WEECHAT_IRC_CONFIG_H +#define WEECHAT_IRC_CONFIG_H 1 #define IRC_CONFIG_NAME "irc" @@ -219,4 +219,4 @@ extern int irc_config_read (); extern int irc_config_write (int write_temp_servers); extern void irc_config_free (); -#endif /* __WEECHAT_IRC_CONFIG_H */ +#endif /* WEECHAT_IRC_CONFIG_H */ diff --git a/src/plugins/irc/irc-ctcp.h b/src/plugins/irc/irc-ctcp.h index 19a333f43..268d81fc3 100644 --- a/src/plugins/irc/irc-ctcp.h +++ b/src/plugins/irc/irc-ctcp.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_CTCP_H -#define __WEECHAT_IRC_CTCP_H 1 +#ifndef WEECHAT_IRC_CTCP_H +#define WEECHAT_IRC_CTCP_H 1 struct t_irc_server; struct t_irc_channel; @@ -41,4 +41,4 @@ extern void irc_ctcp_recv (struct t_irc_server *server, time_t date, const char *remote_nick, char *arguments, char *message); -#endif /* __WEECHAT_IRC_CTCP_H */ +#endif /* WEECHAT_IRC_CTCP_H */ diff --git a/src/plugins/irc/irc-debug.h b/src/plugins/irc/irc-debug.h index 7cbbc38c9..8f5c0bf5a 100644 --- a/src/plugins/irc/irc-debug.h +++ b/src/plugins/irc/irc-debug.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_DEBUG_H -#define __WEECHAT_IRC_DEBUG_H 1 +#ifndef WEECHAT_IRC_DEBUG_H +#define WEECHAT_IRC_DEBUG_H 1 extern void irc_debug_init (); -#endif /* __WEECHAT_IRC_DEBUG_H */ +#endif /* WEECHAT_IRC_DEBUG_H */ diff --git a/src/plugins/irc/irc-ignore.h b/src/plugins/irc/irc-ignore.h index bfc3fa724..3cdaddf73 100644 --- a/src/plugins/irc/irc-ignore.h +++ b/src/plugins/irc/irc-ignore.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_IGNORE_H -#define __WEECHAT_IRC_IGNORE_H 1 +#ifndef WEECHAT_IRC_IGNORE_H +#define WEECHAT_IRC_IGNORE_H 1 #include @@ -57,4 +57,4 @@ extern int irc_ignore_add_to_infolist (struct t_infolist *infolist, struct t_irc_ignore *ignore); extern void irc_ignore_print_log (); -#endif /* __WEECHAT_IRC_IGNORE_H */ +#endif /* WEECHAT_IRC_IGNORE_H */ diff --git a/src/plugins/irc/irc-info.h b/src/plugins/irc/irc-info.h index de2bc5a87..1c131410a 100644 --- a/src/plugins/irc/irc-info.h +++ b/src/plugins/irc/irc-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_INFO_H -#define __WEECHAT_IRC_INFO_H 1 +#ifndef WEECHAT_IRC_INFO_H +#define WEECHAT_IRC_INFO_H 1 extern void irc_info_init (); -#endif /* __WEECHAT_IRC_INFO_H */ +#endif /* WEECHAT_IRC_INFO_H */ diff --git a/src/plugins/irc/irc-input.h b/src/plugins/irc/irc-input.h index bd372c8e4..b00b28975 100644 --- a/src/plugins/irc/irc-input.h +++ b/src/plugins/irc/irc-input.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_INPUT_H -#define __WEECHAT_IRC_INPUT_H 1 +#ifndef WEECHAT_IRC_INPUT_H +#define WEECHAT_IRC_INPUT_H 1 struct t_gui_buffer; @@ -29,4 +29,4 @@ extern int irc_input_data_cb (void *data, struct t_gui_buffer *buffer, extern int irc_input_send_cb (void *data, const char *signal, const char *type_data, void *signal_data); -#endif /* __WEECHAT_IRC_INPUT_H */ +#endif /* WEECHAT_IRC_INPUT_H */ diff --git a/src/plugins/irc/irc-message.h b/src/plugins/irc/irc-message.h index a50f5e541..d86ffcf3e 100644 --- a/src/plugins/irc/irc-message.h +++ b/src/plugins/irc/irc-message.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_MESSAGE_H -#define __WEECHAT_IRC_MESSAGE_H 1 +#ifndef WEECHAT_IRC_MESSAGE_H +#define WEECHAT_IRC_MESSAGE_H 1 struct t_irc_server; struct t_irc_channel; @@ -37,4 +37,4 @@ extern char *irc_message_replace_vars (struct t_irc_server *server, extern struct t_hashtable *irc_message_split (struct t_irc_server *server, const char *message); -#endif /* __WEECHAT_IRC_MESSAGE_H */ +#endif /* WEECHAT_IRC_MESSAGE_H */ diff --git a/src/plugins/irc/irc-mode.h b/src/plugins/irc/irc-mode.h index ad50d3b88..265a46dab 100644 --- a/src/plugins/irc/irc-mode.h +++ b/src/plugins/irc/irc-mode.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_MODE_H -#define __WEECHAT_IRC_MODE_H 1 +#ifndef WEECHAT_IRC_MODE_H +#define WEECHAT_IRC_MODE_H 1 struct t_irc_server; struct t_irc_channel; @@ -29,4 +29,4 @@ extern int irc_mode_channel_set (struct t_irc_server *server, extern void irc_mode_user_set (struct t_irc_server *server, const char *modes, int reset_modes); -#endif /* __WEECHAT_IRC_MODE_H */ +#endif /* WEECHAT_IRC_MODE_H */ diff --git a/src/plugins/irc/irc-msgbuffer.h b/src/plugins/irc/irc-msgbuffer.h index 197aca696..0af8a6d27 100644 --- a/src/plugins/irc/irc-msgbuffer.h +++ b/src/plugins/irc/irc-msgbuffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_MSGBUFFER_H -#define __WEECHAT_IRC_MSGBUFFER_H 1 +#ifndef WEECHAT_IRC_MSGBUFFER_H +#define WEECHAT_IRC_MSGBUFFER_H 1 enum t_irc_msgbuffer_target { @@ -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 /* __WEECHAT_IRC_MSGBUFFER_H */ +#endif /* WEECHAT_IRC_MSGBUFFER_H */ diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h index c52167bc3..c5600c46b 100644 --- a/src/plugins/irc/irc-nick.h +++ b/src/plugins/irc/irc-nick.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_NICK_H -#define __WEECHAT_IRC_NICK_H 1 +#ifndef WEECHAT_IRC_NICK_H +#define WEECHAT_IRC_NICK_H 1 #define IRC_NICK_VALID_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHI" \ "JKLMNOPQRSTUVWXYZ0123456789-[]\\`_^{|}" @@ -108,4 +108,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 /* __WEECHAT_IRC_NICK_H */ +#endif /* WEECHAT_IRC_NICK_H */ diff --git a/src/plugins/irc/irc-notify.h b/src/plugins/irc/irc-notify.h index 8590c6f6d..0b6238642 100644 --- a/src/plugins/irc/irc-notify.h +++ b/src/plugins/irc/irc-notify.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_NOTIFY_H -#define __WEECHAT_IRC_NOTIFY_H 1 +#ifndef WEECHAT_IRC_NOTIFY_H +#define WEECHAT_IRC_NOTIFY_H 1 struct t_irc_server; @@ -72,4 +72,4 @@ extern void irc_notify_hook_timer_whois (); extern void irc_notify_init (); extern void irc_notify_end (); -#endif /* __WEECHAT_IRC_NOTIFY_H */ +#endif /* WEECHAT_IRC_NOTIFY_H */ diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h index 43ba8b09c..57dee3d22 100644 --- a/src/plugins/irc/irc-protocol.h +++ b/src/plugins/irc/irc-protocol.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_PROTOCOL_H -#define __WEECHAT_IRC_PROTOCOL_H 1 +#ifndef WEECHAT_IRC_PROTOCOL_H +#define WEECHAT_IRC_PROTOCOL_H 1 #define IRC_PROTOCOL_CALLBACK(__command) \ int \ @@ -89,4 +89,4 @@ extern void irc_protocol_recv_command (struct t_irc_server *server, const char *msg_command, const char *msg_channel); -#endif /* __WEECHAT_IRC_PROTOCOL_H */ +#endif /* WEECHAT_IRC_PROTOCOL_H */ diff --git a/src/plugins/irc/irc-raw.h b/src/plugins/irc/irc-raw.h index 3ed272363..db9f21b06 100644 --- a/src/plugins/irc/irc-raw.h +++ b/src/plugins/irc/irc-raw.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_RAW_H -#define __WEECHAT_IRC_RAW_H 1 +#ifndef WEECHAT_IRC_RAW_H +#define WEECHAT_IRC_RAW_H 1 #define IRC_RAW_BUFFER_NAME "irc_raw" @@ -58,4 +58,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 /* __WEECHAT_IRC_RAW_H */ +#endif /* WEECHAT_IRC_RAW_H */ diff --git a/src/plugins/irc/irc-redirect.h b/src/plugins/irc/irc-redirect.h index 30bb93593..8a57553c7 100644 --- a/src/plugins/irc/irc-redirect.h +++ b/src/plugins/irc/irc-redirect.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_REDIRECT_H -#define __WEECHAT_IRC_REDIRECT_H 1 +#ifndef WEECHAT_IRC_REDIRECT_H +#define WEECHAT_IRC_REDIRECT_H 1 #define IRC_REDIRECT_TIMEOUT_DEFAULT 60 @@ -126,4 +126,4 @@ extern int irc_redirect_command_hsignal_cb (void *data, const char *signal, extern void irc_redirect_init (); extern void irc_redirect_end (); -#endif /* __WEECHAT_IRC_REDIRECT_H */ +#endif /* WEECHAT_IRC_REDIRECT_H */ diff --git a/src/plugins/irc/irc-sasl.h b/src/plugins/irc/irc-sasl.h index 17a86e9a8..84c577106 100644 --- a/src/plugins/irc/irc-sasl.h +++ b/src/plugins/irc/irc-sasl.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_SASL_H -#define __WEECHAT_IRC_SASL_H 1 +#ifndef WEECHAT_IRC_SASL_H +#define WEECHAT_IRC_SASL_H 1 /* SASL authentication mechanisms */ @@ -43,4 +43,4 @@ extern char *irc_sasl_mechanism_dh_aes (const char *data_base64, const char *sasl_username, const char *sasl_password); -#endif /* __WEECHAT_IRC_SASL_H */ +#endif /* WEECHAT_IRC_SASL_H */ diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 6b4a9d9fb..a48eeaa5c 100644 --- a/src/plugins/irc/irc-server.h +++ b/src/plugins/irc/irc-server.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_SERVER_H -#define __WEECHAT_IRC_SERVER_H 1 +#ifndef WEECHAT_IRC_SERVER_H +#define WEECHAT_IRC_SERVER_H 1 #include #include @@ -326,4 +326,4 @@ extern int irc_server_add_to_infolist (struct t_infolist *infolist, struct t_irc_server *server); extern void irc_server_print_log (); -#endif /* __WEECHAT_IRC_SERVER_H */ +#endif /* WEECHAT_IRC_SERVER_H */ diff --git a/src/plugins/irc/irc-upgrade.h b/src/plugins/irc/irc-upgrade.h index bcc556f8f..c3c21131d 100644 --- a/src/plugins/irc/irc-upgrade.h +++ b/src/plugins/irc/irc-upgrade.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_UPGRADE_H -#define __WEECHAT_IRC_UPGRADE_H 1 +#ifndef WEECHAT_IRC_UPGRADE_H +#define WEECHAT_IRC_UPGRADE_H 1 #define IRC_UPGRADE_FILENAME "irc" @@ -38,4 +38,4 @@ enum t_irc_upgrade_type extern int irc_upgrade_save (); extern int irc_upgrade_load (); -#endif /* __WEECHAT_IRC_UPGRADE_H */ +#endif /* WEECHAT_IRC_UPGRADE_H */ diff --git a/src/plugins/irc/irc.h b/src/plugins/irc/irc.h index 8eee94494..b81227a92 100644 --- a/src/plugins/irc/irc.h +++ b/src/plugins/irc/irc.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_IRC_H -#define __WEECHAT_IRC_H 1 +#ifndef WEECHAT_IRC_H +#define WEECHAT_IRC_H 1 #define weechat_plugin weechat_irc_plugin #define IRC_PLUGIN_NAME "irc" @@ -28,4 +28,4 @@ extern struct t_weechat_plugin *weechat_irc_plugin; extern int irc_signal_upgrade_received; -#endif /* __WEECHAT_IRC_H */ +#endif /* WEECHAT_IRC_H */ diff --git a/src/plugins/logger/logger-buffer.h b/src/plugins/logger/logger-buffer.h index 20e8d4047..10a5adcb8 100644 --- a/src/plugins/logger/logger-buffer.h +++ b/src/plugins/logger/logger-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOGGER_BUFFER_H -#define __WEECHAT_LOGGER_BUFFER_H 1 +#ifndef WEECHAT_LOGGER_BUFFER_H +#define WEECHAT_LOGGER_BUFFER_H 1 struct t_infolist; @@ -48,4 +48,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 /* __WEECHAT_LOGGER_BUFFER_H */ +#endif /* WEECHAT_LOGGER_BUFFER_H */ diff --git a/src/plugins/logger/logger-config.h b/src/plugins/logger/logger-config.h index 270baf516..c26bcaa84 100644 --- a/src/plugins/logger/logger-config.h +++ b/src/plugins/logger/logger-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOGGER_CONFIG_H -#define __WEECHAT_LOGGER_CONFIG_H 1 +#ifndef WEECHAT_LOGGER_CONFIG_H +#define WEECHAT_LOGGER_CONFIG_H 1 #define LOGGER_CONFIG_NAME "logger" @@ -47,4 +47,4 @@ extern int logger_config_read (); extern int logger_config_write (); extern void logger_config_free (); -#endif /* __WEECHAT_LOGGER_CONFIG_H */ +#endif /* WEECHAT_LOGGER_CONFIG_H */ diff --git a/src/plugins/logger/logger-info.h b/src/plugins/logger/logger-info.h index b7753c344..8b29681ec 100644 --- a/src/plugins/logger/logger-info.h +++ b/src/plugins/logger/logger-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOGGER_INFO_H -#define __WEECHAT_LOGGER_INFO_H 1 +#ifndef WEECHAT_LOGGER_INFO_H +#define WEECHAT_LOGGER_INFO_H 1 extern void logger_info_init (); -#endif /* __WEECHAT_LOGGER_INFO_H */ +#endif /* WEECHAT_LOGGER_INFO_H */ diff --git a/src/plugins/logger/logger-tail.h b/src/plugins/logger/logger-tail.h index bdfad66aa..b03d58604 100644 --- a/src/plugins/logger/logger-tail.h +++ b/src/plugins/logger/logger-tail.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOGGER_TAIL_H -#define __WEECHAT_LOGGER_TAIL_H 1 +#ifndef WEECHAT_LOGGER_TAIL_H +#define WEECHAT_LOGGER_TAIL_H 1 struct t_logger_line { @@ -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 /* __WEECHAT_LOGGER_TAIL_H */ +#endif /* WEECHAT_LOGGER_TAIL_H */ diff --git a/src/plugins/logger/logger.h b/src/plugins/logger/logger.h index 7f73345cc..73e7de88a 100644 --- a/src/plugins/logger/logger.h +++ b/src/plugins/logger/logger.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LOGGER_H -#define __WEECHAT_LOGGER_H 1 +#ifndef WEECHAT_LOGGER_H +#define WEECHAT_LOGGER_H 1 #define weechat_plugin weechat_logger_plugin #define LOGGER_PLUGIN_NAME "logger" @@ -34,4 +34,4 @@ extern void logger_stop_all (int write_info_line); extern void logger_adjust_log_filenames (); extern int logger_timer_cb (void *data, int remaining_calls); -#endif /* __WEECHAT_LOGGER_H */ +#endif /* WEECHAT_LOGGER_H */ diff --git a/src/plugins/lua/weechat-lua-api.h b/src/plugins/lua/weechat-lua-api.h index b94592687..e5f3b36e3 100644 --- a/src/plugins/lua/weechat-lua-api.h +++ b/src/plugins/lua/weechat-lua-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LUA_API_H -#define __WEECHAT_LUA_API_H 1 +#ifndef WEECHAT_LUA_API_H +#define WEECHAT_LUA_API_H 1 extern struct luaL_Reg weechat_lua_api_funcs[]; extern struct t_lua_const weechat_lua_api_consts[]; @@ -30,4 +30,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_API_H */ +#endif /* WEECHAT_LUA_API_H */ diff --git a/src/plugins/lua/weechat-lua.h b/src/plugins/lua/weechat-lua.h index d88a46e7f..6a1782126 100644 --- a/src/plugins/lua/weechat-lua.h +++ b/src/plugins/lua/weechat-lua.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_LUA_H -#define __WEECHAT_LUA_H 1 +#ifndef WEECHAT_LUA_H +#define WEECHAT_LUA_H 1 #define weechat_plugin weechat_lua_plugin #define LUA_PLUGIN_NAME "lua" @@ -58,4 +58,4 @@ extern void weechat_lua_register_lib(lua_State *L, const char *libname, const luaL_Reg *lua_api_funcs, struct t_lua_const lua_api_consts[]); -#endif /* __WEECHAT_LUA_H */ +#endif /* WEECHAT_LUA_H */ diff --git a/src/plugins/perl/weechat-perl-api.h b/src/plugins/perl/weechat-perl-api.h index 36734a921..76f8f8d2c 100644 --- a/src/plugins/perl/weechat-perl-api.h +++ b/src/plugins/perl/weechat-perl-api.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PERL_API_H -#define __WEECHAT_PERL_API_H 1 +#ifndef WEECHAT_PERL_API_H +#define WEECHAT_PERL_API_H 1 extern int weechat_perl_api_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, @@ -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_API_H */ +#endif /* WEECHAT_PERL_API_H */ diff --git a/src/plugins/perl/weechat-perl.h b/src/plugins/perl/weechat-perl.h index 09f320c98..60d923101 100644 --- a/src/plugins/perl/weechat-perl.h +++ b/src/plugins/perl/weechat-perl.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PERL_H -#define __WEECHAT_PERL_H 1 +#ifndef WEECHAT_PERL_H +#define WEECHAT_PERL_H 1 #define weechat_plugin weechat_perl_plugin #define PERL_PLUGIN_NAME "perl" @@ -45,4 +45,4 @@ extern void *weechat_perl_exec (struct t_plugin_script *script, int ret_type, const char *function, const char *format, void **argv); -#endif /* __WEECHAT_PERL_H */ +#endif /* WEECHAT_PERL_H */ diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index 5fe540dd2..50eb62685 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_API_H -#define __WEECHAT_PLUGIN_API_H 1 +#ifndef WEECHAT_PLUGIN_API_H +#define WEECHAT_PLUGIN_API_H 1 struct t_plugin_api_hdata { @@ -75,4 +75,4 @@ extern void plugin_api_infolist_free (struct t_infolist *infolist); extern void plugin_api_init (); -#endif /* __WEECHAT_PLUGIN_API_H */ +#endif /* WEECHAT_PLUGIN_API_H */ diff --git a/src/plugins/plugin-config.h b/src/plugins/plugin-config.h index f6ae74dfc..72c0fe416 100644 --- a/src/plugins/plugin-config.h +++ b/src/plugins/plugin-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_CONFIG_H -#define __WEECHAT_PLUGIN_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_CONFIG_H +#define WEECHAT_PLUGIN_CONFIG_H 1 #define PLUGIN_CONFIG_NAME "plugins" @@ -37,4 +37,4 @@ extern int plugin_config_read (); extern int plugin_config_write (); extern void plugin_config_end (); -#endif /* __WEECHAT_PLUGIN_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_CONFIG_H */ diff --git a/src/plugins/plugin-script-api.h b/src/plugins/plugin-script-api.h index 7fb02da02..e278f8217 100644 --- a/src/plugins/plugin-script-api.h +++ b/src/plugins/plugin-script-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_SCRIPT_API_H -#define __WEECHAT_PLUGIN_SCRIPT_API_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_API_H +#define WEECHAT_PLUGIN_SCRIPT_API_H 1 extern void plugin_script_api_charset_set (struct t_plugin_script *script, const char *charset); @@ -360,4 +360,4 @@ extern int plugin_script_api_upgrade_read (struct t_weechat_plugin *weechat_plug const char *function, const char *data); -#endif /* __WEECHAT_PLUGIN_SCRIPT_API_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_API_H */ diff --git a/src/plugins/plugin-script-callback.h b/src/plugins/plugin-script-callback.h index 19dbf43c9..2e479854a 100644 --- a/src/plugins/plugin-script-callback.h +++ b/src/plugins/plugin-script-callback.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H -#define __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_CALLBACK_H +#define WEECHAT_PLUGIN_SCRIPT_CALLBACK_H 1 struct t_plugin_script_cb { @@ -47,4 +47,4 @@ extern struct t_hdata *plugin_script_callback_hdata_callback_cb (void *data, extern void plugin_script_callback_print_log (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script_cb *script_callback); -#endif /* __WEECHAT_PLUGIN_SCRIPT_CALLBACK_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_CALLBACK_H */ diff --git a/src/plugins/plugin-script.h b/src/plugins/plugin-script.h index 17cdcce81..3aa1c875c 100644 --- a/src/plugins/plugin-script.h +++ b/src/plugins/plugin-script.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_SCRIPT_H -#define __WEECHAT_PLUGIN_SCRIPT_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_H +#define WEECHAT_PLUGIN_SCRIPT_H 1 /* constants which defines return types for weechat__exec functions */ @@ -173,4 +173,4 @@ extern void plugin_script_end (struct t_weechat_plugin *weechat_plugin, extern void plugin_script_print_log (struct t_weechat_plugin *weechat_plugin, struct t_plugin_script *scripts); -#endif /* __WEECHAT_PLUGIN_SCRIPT_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_H */ diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h index 455324f7e..c8a78e90b 100644 --- a/src/plugins/plugin.h +++ b/src/plugins/plugin.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PLUGIN_H -#define __WEECHAT_PLUGIN_H 1 +#ifndef WEECHAT_PLUGIN_H +#define WEECHAT_PLUGIN_H 1 #include "weechat-plugin.h" @@ -49,4 +49,4 @@ extern int plugin_add_to_infolist (struct t_infolist *infolist, struct t_weechat_plugin *plugin); extern void plugin_print_log (); -#endif /* __WEECHAT_PLUGIN_H */ +#endif /* WEECHAT_PLUGIN_H */ diff --git a/src/plugins/python/weechat-python-api.h b/src/plugins/python/weechat-python-api.h index b965dd021..761d96afd 100644 --- a/src/plugins/python/weechat-python-api.h +++ b/src/plugins/python/weechat-python-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PYTHON_API_H -#define __WEECHAT_PYTHON_API_H 1 +#ifndef WEECHAT_PYTHON_API_H +#define WEECHAT_PYTHON_API_H 1 extern PyMethodDef weechat_python_funcs[]; @@ -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_API_H */ +#endif /* WEECHAT_PYTHON_API_H */ diff --git a/src/plugins/python/weechat-python.h b/src/plugins/python/weechat-python.h index b2b849629..73c8105ca 100644 --- a/src/plugins/python/weechat-python.h +++ b/src/plugins/python/weechat-python.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_PYTHON_H -#define __WEECHAT_PYTHON_H 1 +#ifndef WEECHAT_PYTHON_H +#define WEECHAT_PYTHON_H 1 #define weechat_plugin weechat_python_plugin #define PYTHON_PLUGIN_NAME "python" @@ -53,4 +53,4 @@ extern void *weechat_python_exec (struct t_plugin_script *script, int ret_type, const char *function, char *format, void **argv); -#endif /* __WEECHAT_PYTHON_H */ +#endif /* WEECHAT_PYTHON_H */ diff --git a/src/plugins/relay/irc/relay-irc.h b/src/plugins/relay/irc/relay-irc.h index bfdf8a3ad..7a908738a 100644 --- a/src/plugins/relay/irc/relay-irc.h +++ b/src/plugins/relay/irc/relay-irc.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_IRC_H -#define __WEECHAT_RELAY_IRC_H 1 +#ifndef WEECHAT_RELAY_IRC_H +#define WEECHAT_RELAY_IRC_H 1 struct t_relay_client; @@ -73,4 +73,4 @@ extern int relay_irc_add_to_infolist (struct t_infolist_item *item, struct t_relay_client *client); extern void relay_irc_print_log (struct t_relay_client *client); -#endif /* __WEECHAT_RELAY_IRC_H */ +#endif /* WEECHAT_RELAY_IRC_H */ diff --git a/src/plugins/relay/relay-buffer.h b/src/plugins/relay/relay-buffer.h index 08236841d..35dcb4b80 100644 --- a/src/plugins/relay/relay-buffer.h +++ b/src/plugins/relay/relay-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_BUFFER_H -#define __WEECHAT_RELAY_BUFFER_H 1 +#ifndef WEECHAT_RELAY_BUFFER_H +#define WEECHAT_RELAY_BUFFER_H 1 #define RELAY_BUFFER_NAME "relay.list" @@ -31,4 +31,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 /* __WEECHAT_RELAY_BUFFER_H */ +#endif /* WEECHAT_RELAY_BUFFER_H */ diff --git a/src/plugins/relay/relay-client.h b/src/plugins/relay/relay-client.h index 148e6aeec..017c712ea 100644 --- a/src/plugins/relay/relay-client.h +++ b/src/plugins/relay/relay-client.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_CLIENT_H -#define __WEECHAT_RELAY_CLIENT_H 1 +#ifndef WEECHAT_RELAY_CLIENT_H +#define WEECHAT_RELAY_CLIENT_H 1 #ifdef HAVE_GNUTLS #include @@ -132,4 +132,4 @@ extern int relay_client_add_to_infolist (struct t_infolist *infolist, struct t_relay_client *client); extern void relay_client_print_log (); -#endif /* __WEECHAT_RELAY_CLIENT_H */ +#endif /* WEECHAT_RELAY_CLIENT_H */ diff --git a/src/plugins/relay/relay-command.h b/src/plugins/relay/relay-command.h index de034b389..7fc08d692 100644 --- a/src/plugins/relay/relay-command.h +++ b/src/plugins/relay/relay-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_COMMAND_H -#define __WEECHAT_RELAY_COMMAND_H 1 +#ifndef WEECHAT_RELAY_COMMAND_H +#define WEECHAT_RELAY_COMMAND_H 1 extern void relay_command_init (); -#endif /* __WEECHAT_RELAY_COMMAND_H */ +#endif /* WEECHAT_RELAY_COMMAND_H */ diff --git a/src/plugins/relay/relay-completion.h b/src/plugins/relay/relay-completion.h index 8876cf18d..95c2d73cf 100644 --- a/src/plugins/relay/relay-completion.h +++ b/src/plugins/relay/relay-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_COMPLETION_H -#define __WEECHAT_RELAY_COMPLETION_H 1 +#ifndef WEECHAT_RELAY_COMPLETION_H +#define WEECHAT_RELAY_COMPLETION_H 1 extern void relay_completion_init (); -#endif /* __WEECHAT_RELAY_COMPLETION_H */ +#endif /* WEECHAT_RELAY_COMPLETION_H */ diff --git a/src/plugins/relay/relay-config.h b/src/plugins/relay/relay-config.h index 7cda6a25b..5b37340d9 100644 --- a/src/plugins/relay/relay-config.h +++ b/src/plugins/relay/relay-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_CONFIG_H -#define __WEECHAT_RELAY_CONFIG_H 1 +#ifndef WEECHAT_RELAY_CONFIG_H +#define WEECHAT_RELAY_CONFIG_H 1 #include @@ -66,4 +66,4 @@ extern int relay_config_read (); extern int relay_config_write (); extern void relay_config_free (); -#endif /* __WEECHAT_RELAY_CONFIG_H */ +#endif /* WEECHAT_RELAY_CONFIG_H */ diff --git a/src/plugins/relay/relay-info.h b/src/plugins/relay/relay-info.h index 8e4620d23..c3fdfb2fd 100644 --- a/src/plugins/relay/relay-info.h +++ b/src/plugins/relay/relay-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_INFO_H -#define __WEECHAT_RELAY_INFO_H 1 +#ifndef WEECHAT_RELAY_INFO_H +#define WEECHAT_RELAY_INFO_H 1 extern void relay_info_init (); -#endif /* __WEECHAT_RELAY_INFO_H */ +#endif /* WEECHAT_RELAY_INFO_H */ diff --git a/src/plugins/relay/relay-network.h b/src/plugins/relay/relay-network.h index 2bfd8c650..0e58ffb49 100644 --- a/src/plugins/relay/relay-network.h +++ b/src/plugins/relay/relay-network.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_NETWORK_H -#define __WEECHAT_RELAY_NETWORK_H 1 +#ifndef WEECHAT_RELAY_NETWORK_H +#define WEECHAT_RELAY_NETWORK_H 1 #ifdef HAVE_GNUTLS #include @@ -37,4 +37,4 @@ extern void relay_network_set_ssl_cert_key (int verbose); extern void relay_network_init (); extern void relay_network_end (); -#endif /* __WEECHAT_RELAY_NETWORK_H */ +#endif /* WEECHAT_RELAY_NETWORK_H */ diff --git a/src/plugins/relay/relay-raw.h b/src/plugins/relay/relay-raw.h index 963aec301..5be25b638 100644 --- a/src/plugins/relay/relay-raw.h +++ b/src/plugins/relay/relay-raw.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_RAW_H -#define __WEECHAT_RELAY_RAW_H 1 +#ifndef WEECHAT_RELAY_RAW_H +#define WEECHAT_RELAY_RAW_H 1 #define RELAY_RAW_BUFFER_NAME "relay_raw" #define RELAY_RAW_PREFIX_RECV "-->" @@ -53,4 +53,4 @@ extern void relay_raw_message_free_all (); extern int relay_raw_add_to_infolist (struct t_infolist *infolist, struct t_relay_raw_message *raw_message); -#endif /* __WEECHAT_RELAY_RAW_H */ +#endif /* WEECHAT_RELAY_RAW_H */ diff --git a/src/plugins/relay/relay-server.h b/src/plugins/relay/relay-server.h index 1098b80e5..91dc67691 100644 --- a/src/plugins/relay/relay-server.h +++ b/src/plugins/relay/relay-server.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_SERVER_H -#define __WEECHAT_RELAY_SERVER_H 1 +#ifndef WEECHAT_RELAY_SERVER_H +#define WEECHAT_RELAY_SERVER_H 1 #ifdef HAVE_GNUTLS #define RELAY_SERVER_GNUTLS_DH_BITS 1024 @@ -66,4 +66,4 @@ extern int relay_server_add_to_infolist (struct t_infolist *infolist, struct t_relay_server *server); extern void relay_server_print_log (); -#endif /* __WEECHAT_RELAY_SERVER_H */ +#endif /* WEECHAT_RELAY_SERVER_H */ diff --git a/src/plugins/relay/relay-upgrade.h b/src/plugins/relay/relay-upgrade.h index f60c6c460..773a68a13 100644 --- a/src/plugins/relay/relay-upgrade.h +++ b/src/plugins/relay/relay-upgrade.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_UPGRADE_H -#define __WEECHAT_RELAY_UPGRADE_H 1 +#ifndef WEECHAT_RELAY_UPGRADE_H +#define WEECHAT_RELAY_UPGRADE_H 1 #define RELAY_UPGRADE_FILENAME "relay" @@ -34,4 +34,4 @@ enum t_relay_upgrade_type extern int relay_upgrade_save (); extern int relay_upgrade_load (); -#endif /* __WEECHAT_RELAY_UPGRADE_H */ +#endif /* WEECHAT_RELAY_UPGRADE_H */ diff --git a/src/plugins/relay/relay-websocket.h b/src/plugins/relay/relay-websocket.h index 8d9fafac3..109633c4a 100644 --- a/src/plugins/relay/relay-websocket.h +++ b/src/plugins/relay/relay-websocket.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_WEBSOCKET_H -#define __WEECHAT_RELAY_WEBSOCKET_H 1 +#ifndef WEECHAT_RELAY_WEBSOCKET_H +#define WEECHAT_RELAY_WEBSOCKET_H 1 extern int relay_websocket_is_http_get_weechat (const char *message); extern void relay_websocket_save_header (struct t_relay_client *client, @@ -36,4 +36,4 @@ extern char *relay_websocket_encode_frame (struct t_relay_client *client, unsigned long long length, unsigned long long *length_frame); -#endif /* __WEECHAT_RELAY_WEBSOCKET_H */ +#endif /* WEECHAT_RELAY_WEBSOCKET_H */ diff --git a/src/plugins/relay/relay.h b/src/plugins/relay/relay.h index 75adeebbf..c41df4b6c 100644 --- a/src/plugins/relay/relay.h +++ b/src/plugins/relay/relay.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_H -#define __WEECHAT_RELAY_H 1 +#ifndef WEECHAT_RELAY_H +#define WEECHAT_RELAY_H 1 #define weechat_plugin weechat_relay_plugin #define RELAY_PLUGIN_NAME "relay" @@ -46,4 +46,4 @@ extern char *relay_protocol_string[]; extern int relay_protocol_search (const char *name); -#endif /* __WEECHAT_RELAY_H */ +#endif /* WEECHAT_RELAY_H */ diff --git a/src/plugins/relay/weechat/relay-weechat-msg.h b/src/plugins/relay/weechat/relay-weechat-msg.h index 82c5b05a4..4b4412d4a 100644 --- a/src/plugins/relay/weechat/relay-weechat-msg.h +++ b/src/plugins/relay/weechat/relay-weechat-msg.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_WEECHAT_MSG_H -#define __WEECHAT_RELAY_WEECHAT_MSG_H 1 +#ifndef WEECHAT_RELAY_WEECHAT_MSG_H +#define WEECHAT_RELAY_WEECHAT_MSG_H 1 struct t_relay_weechat_nicklist; @@ -81,4 +81,4 @@ extern void relay_weechat_msg_send (struct t_relay_client *client, struct t_relay_weechat_msg *msg); extern void relay_weechat_msg_free (struct t_relay_weechat_msg *msg); -#endif /* __WEECHAT_RELAY_WEECHAT_MSG_H */ +#endif /* WEECHAT_RELAY_WEECHAT_MSG_H */ diff --git a/src/plugins/relay/weechat/relay-weechat-nicklist.h b/src/plugins/relay/weechat/relay-weechat-nicklist.h index 6bf3d00ec..ac099dcfe 100644 --- a/src/plugins/relay/weechat/relay-weechat-nicklist.h +++ b/src/plugins/relay/weechat/relay-weechat-nicklist.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_WEECHAT_NICKLIST_H -#define __WEECHAT_RELAY_WEECHAT_NICKLIST_H 1 +#ifndef WEECHAT_RELAY_WEECHAT_NICKLIST_H +#define WEECHAT_RELAY_WEECHAT_NICKLIST_H 1 #define RELAY_WEECHAT_NICKLIST_DIFF_UNKNOWN ' ' #define RELAY_WEECHAT_NICKLIST_DIFF_PARENT '^' @@ -54,4 +54,4 @@ extern void relay_weechat_nicklist_add_item (struct t_relay_weechat_nicklist *ni struct t_gui_nick *nick); extern void relay_weechat_nicklist_free (struct t_relay_weechat_nicklist *nicklist); -#endif /* __WEECHAT_RELAY_WEECHAT_NICKLIST_H */ +#endif /* WEECHAT_RELAY_WEECHAT_NICKLIST_H */ diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.h b/src/plugins/relay/weechat/relay-weechat-protocol.h index 9b087fe8f..a899d239a 100644 --- a/src/plugins/relay/weechat/relay-weechat-protocol.h +++ b/src/plugins/relay/weechat/relay-weechat-protocol.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_WEECHAT_PROTOCOL_H -#define __WEECHAT_RELAY_WEECHAT_PROTOCOL_H 1 +#ifndef WEECHAT_RELAY_WEECHAT_PROTOCOL_H +#define WEECHAT_RELAY_WEECHAT_PROTOCOL_H 1 #define RELAY_WEECHAT_PROTOCOL_SYNC_BUFFER 1 #define RELAY_WEECHAT_PROTOCOL_SYNC_NICKLIST 2 @@ -101,4 +101,4 @@ extern int relay_weechat_protocol_timer_nicklist_cb (void *data, extern void relay_weechat_protocol_recv (struct t_relay_client *client, const char *data); -#endif /* __WEECHAT_RELAY_WEECHAT_PROTOCOL_H */ +#endif /* WEECHAT_RELAY_WEECHAT_PROTOCOL_H */ diff --git a/src/plugins/relay/weechat/relay-weechat.h b/src/plugins/relay/weechat/relay-weechat.h index feb607f31..ee31c8797 100644 --- a/src/plugins/relay/weechat/relay-weechat.h +++ b/src/plugins/relay/weechat/relay-weechat.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RELAY_WEECHAT_H -#define __WEECHAT_RELAY_WEECHAT_H 1 +#ifndef WEECHAT_RELAY_WEECHAT_H +#define WEECHAT_RELAY_WEECHAT_H 1 struct t_relay_client; @@ -63,4 +63,4 @@ extern int relay_weechat_add_to_infolist (struct t_infolist_item *item, struct t_relay_client *client); extern void relay_weechat_print_log (struct t_relay_client *client); -#endif /* __WEECHAT_RELAY_WEECHAT_H */ +#endif /* WEECHAT_RELAY_WEECHAT_H */ diff --git a/src/plugins/ruby/weechat-ruby-api.h b/src/plugins/ruby/weechat-ruby-api.h index 2cbf83dee..71933f63e 100644 --- a/src/plugins/ruby/weechat-ruby-api.h +++ b/src/plugins/ruby/weechat-ruby-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RUBY_API_H -#define __WEECHAT_RUBY_API_H 1 +#ifndef WEECHAT_RUBY_API_H +#define WEECHAT_RUBY_API_H 1 extern int weechat_ruby_api_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, @@ -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_API_H */ +#endif /* WEECHAT_RUBY_API_H */ diff --git a/src/plugins/ruby/weechat-ruby.h b/src/plugins/ruby/weechat-ruby.h index 847cf2756..49e99e6aa 100644 --- a/src/plugins/ruby/weechat-ruby.h +++ b/src/plugins/ruby/weechat-ruby.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_RUBY_H -#define __WEECHAT_RUBY_H 1 +#ifndef WEECHAT_RUBY_H +#define WEECHAT_RUBY_H 1 #define weechat_plugin weechat_ruby_plugin #define RUBY_PLUGIN_NAME "ruby" @@ -45,4 +45,4 @@ void *weechat_ruby_exec (struct t_plugin_script *script, int ret_type, const char *function, const char *format, void **argv); -#endif /* __WEECHAT_RUBY_H */ +#endif /* WEECHAT_RUBY_H */ diff --git a/src/plugins/script/script-action.h b/src/plugins/script/script-action.h index b43ae94f2..794752157 100644 --- a/src/plugins/script/script-action.h +++ b/src/plugins/script/script-action.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_ACTION_H -#define __WEECHAT_SCRIPT_ACTION_H 1 +#ifndef WEECHAT_SCRIPT_ACTION_H +#define WEECHAT_SCRIPT_ACTION_H 1 extern char *script_actions; @@ -26,4 +26,4 @@ extern int script_action_run (); extern void script_action_schedule (const char *action, int need_repository, int quiet); -#endif /* __WEECHAT_SCRIPT_ACTION_H */ +#endif /* WEECHAT_SCRIPT_ACTION_H */ diff --git a/src/plugins/script/script-buffer.h b/src/plugins/script/script-buffer.h index 8324fc2aa..575f00ee8 100644 --- a/src/plugins/script/script-buffer.h +++ b/src/plugins/script/script-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_BUFFER_H -#define __WEECHAT_SCRIPT_BUFFER_H 1 +#ifndef WEECHAT_SCRIPT_BUFFER_H +#define WEECHAT_SCRIPT_BUFFER_H 1 #define SCRIPT_BUFFER_NAME "scripts" @@ -46,4 +46,4 @@ extern void script_buffer_set_callbacks (); extern void script_buffer_set_keys (); extern void script_buffer_open (); -#endif /* __WEECHAT_SCRIPT_BUFFER_H */ +#endif /* WEECHAT_SCRIPT_BUFFER_H */ diff --git a/src/plugins/script/script-command.h b/src/plugins/script/script-command.h index aec487b54..59b0b56bc 100644 --- a/src/plugins/script/script-command.h +++ b/src/plugins/script/script-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_COMMAND_H -#define __WEECHAT_SCRIPT_COMMAND_H 1 +#ifndef WEECHAT_SCRIPT_COMMAND_H +#define WEECHAT_SCRIPT_COMMAND_H 1 extern void script_command_init (); -#endif /* __WEECHAT_SCRIPT_COMMAND_H */ +#endif /* WEECHAT_SCRIPT_COMMAND_H */ diff --git a/src/plugins/script/script-completion.h b/src/plugins/script/script-completion.h index ecf82418e..2899660ae 100644 --- a/src/plugins/script/script-completion.h +++ b/src/plugins/script/script-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_COMPLETION_H -#define __WEECHAT_SCRIPT_COMPLETION_H 1 +#ifndef WEECHAT_SCRIPT_COMPLETION_H +#define WEECHAT_SCRIPT_COMPLETION_H 1 extern void script_completion_init (); -#endif /* __WEECHAT_SCRIPT_COMPLETION_H */ +#endif /* WEECHAT_SCRIPT_COMPLETION_H */ diff --git a/src/plugins/script/script-config.h b/src/plugins/script/script-config.h index c8f0a6682..8a45a0070 100644 --- a/src/plugins/script/script-config.h +++ b/src/plugins/script/script-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_CONFIG_H -#define __WEECHAT_SCRIPT_CONFIG_H 1 +#ifndef WEECHAT_SCRIPT_CONFIG_H +#define WEECHAT_SCRIPT_CONFIG_H 1 #define SCRIPT_CONFIG_NAME "script" @@ -78,4 +78,4 @@ extern int script_config_read (); extern int script_config_write (); extern void script_config_free (); -#endif /* __WEECHAT_SCRIPT_CONFIG_H */ +#endif /* WEECHAT_SCRIPT_CONFIG_H */ diff --git a/src/plugins/script/script-info.h b/src/plugins/script/script-info.h index 7d6f96c91..5c7cb7a1d 100644 --- a/src/plugins/script/script-info.h +++ b/src/plugins/script/script-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_INFO_H -#define __WEECHAT_SCRIPT_INFO_H 1 +#ifndef WEECHAT_SCRIPT_INFO_H +#define WEECHAT_SCRIPT_INFO_H 1 extern void script_info_init (); -#endif /* __WEECHAT_SCRIPT_INFO_H */ +#endif /* WEECHAT_SCRIPT_INFO_H */ diff --git a/src/plugins/script/script-repo.h b/src/plugins/script/script-repo.h index b349ea6a0..62f4df033 100644 --- a/src/plugins/script/script-repo.h +++ b/src/plugins/script/script-repo.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_REPO_H -#define __WEECHAT_SCRIPT_REPO_H 1 +#ifndef WEECHAT_SCRIPT_REPO_H +#define WEECHAT_SCRIPT_REPO_H 1 /* status for script */ #define SCRIPT_STATUS_INSTALLED 1 @@ -85,4 +85,4 @@ extern int script_repo_add_to_infolist (struct t_infolist *infolist, struct t_script_repo *script); extern void script_repo_print_log (); -#endif /* __WEECHAT_SCRIPT_REPO_H */ +#endif /* WEECHAT_SCRIPT_REPO_H */ diff --git a/src/plugins/script/script.h b/src/plugins/script/script.h index 48b8bffd5..6ca557003 100644 --- a/src/plugins/script/script.h +++ b/src/plugins/script/script.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_SCRIPT_H -#define __WEECHAT_SCRIPT_H 1 +#ifndef WEECHAT_SCRIPT_H +#define WEECHAT_SCRIPT_H 1 #define weechat_plugin weechat_script_plugin #define SCRIPT_PLUGIN_NAME "script" @@ -37,4 +37,4 @@ extern int script_language_search_by_extension (const char *extension); extern void script_actions_add (const char *action); extern void script_get_loaded_plugins_and_scripts (); -#endif /* __WEECHAT_SCRIPT_H */ +#endif /* WEECHAT_SCRIPT_H */ diff --git a/src/plugins/tcl/weechat-tcl-api.h b/src/plugins/tcl/weechat-tcl-api.h index a1456a193..794c33a46 100644 --- a/src/plugins/tcl/weechat-tcl-api.h +++ b/src/plugins/tcl/weechat-tcl-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TCL_API_H -#define __WEECHAT_TCL_API_H 1 +#ifndef WEECHAT_TCL_API_H +#define WEECHAT_TCL_API_H 1 extern int weechat_tcl_api_buffer_input_data_cb (void *data, struct t_gui_buffer *buffer, @@ -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_API_H */ +#endif /* WEECHAT_TCL_API_H */ diff --git a/src/plugins/tcl/weechat-tcl.h b/src/plugins/tcl/weechat-tcl.h index c140d5351..aaef6d735 100644 --- a/src/plugins/tcl/weechat-tcl.h +++ b/src/plugins/tcl/weechat-tcl.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TCL_H -#define __WEECHAT_TCL_H 1 +#ifndef WEECHAT_TCL_H +#define WEECHAT_TCL_H 1 #define weechat_plugin weechat_tcl_plugin #define TCL_PLUGIN_NAME "tcl" @@ -46,4 +46,4 @@ extern void *weechat_tcl_exec (struct t_plugin_script *script, int ret_type, const char *function, const char *format, void **argv); -#endif /* __WEECHAT_TCL_H */ +#endif /* WEECHAT_TCL_H */ diff --git a/src/plugins/trigger/trigger-buffer.h b/src/plugins/trigger/trigger-buffer.h index 1c480191b..1a7ea3065 100644 --- a/src/plugins/trigger/trigger-buffer.h +++ b/src/plugins/trigger/trigger-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_BUFFER_H -#define __WEECHAT_TRIGGER_BUFFER_H 1 +#ifndef WEECHAT_TRIGGER_BUFFER_H +#define WEECHAT_TRIGGER_BUFFER_H 1 #define TRIGGER_BUFFER_NAME "monitor" @@ -31,4 +31,4 @@ extern void trigger_buffer_display_trigger (struct t_trigger *trigger, extern void trigger_buffer_set_callbacks (); extern void trigger_buffer_open (int switch_to_buffer); -#endif /* __WEECHAT_TRIGGER_BUFFER_H */ +#endif /* WEECHAT_TRIGGER_BUFFER_H */ diff --git a/src/plugins/trigger/trigger-callback.h b/src/plugins/trigger/trigger-callback.h index 29ec9b9d9..c52fc304f 100644 --- a/src/plugins/trigger/trigger-callback.h +++ b/src/plugins/trigger/trigger-callback.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_CALLBACK_H -#define __WEECHAT_TRIGGER_CALLBACK_H 1 +#ifndef WEECHAT_TRIGGER_CALLBACK_H +#define WEECHAT_TRIGGER_CALLBACK_H 1 #define TRIGGER_CALLBACK_CB_INIT(__rc) \ struct t_trigger *trigger; \ @@ -91,4 +91,4 @@ extern struct t_hashtable *trigger_callback_focus_cb (void *data, extern void trigger_callback_init (); extern void trigger_callback_end (); -#endif /* __WEECHAT_TRIGGER_CALLBACK_H */ +#endif /* WEECHAT_TRIGGER_CALLBACK_H */ diff --git a/src/plugins/trigger/trigger-command.h b/src/plugins/trigger/trigger-command.h index a2ad07f25..bbdae0a3e 100644 --- a/src/plugins/trigger/trigger-command.h +++ b/src/plugins/trigger/trigger-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_COMMAND_H -#define __WEECHAT_TRIGGER_COMMAND_H 1 +#ifndef WEECHAT_TRIGGER_COMMAND_H +#define WEECHAT_TRIGGER_COMMAND_H 1 extern void trigger_command_init (); -#endif /* __WEECHAT_TRIGGER_COMMAND_H */ +#endif /* WEECHAT_TRIGGER_COMMAND_H */ diff --git a/src/plugins/trigger/trigger-completion.h b/src/plugins/trigger/trigger-completion.h index 17dcccf9c..187345e41 100644 --- a/src/plugins/trigger/trigger-completion.h +++ b/src/plugins/trigger/trigger-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_COMPLETION_H -#define __WEECHAT_TRIGGER_COMPLETION_H 1 +#ifndef WEECHAT_TRIGGER_COMPLETION_H +#define WEECHAT_TRIGGER_COMPLETION_H 1 extern void trigger_completion_init (); -#endif /* __WEECHAT_TRIGGER_COMPLETION_H */ +#endif /* WEECHAT_TRIGGER_COMPLETION_H */ diff --git a/src/plugins/trigger/trigger-config.h b/src/plugins/trigger/trigger-config.h index 6e0fc9df9..db0474a53 100644 --- a/src/plugins/trigger/trigger-config.h +++ b/src/plugins/trigger/trigger-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_CONFIG_H -#define __WEECHAT_TRIGGER_CONFIG_H 1 +#ifndef WEECHAT_TRIGGER_CONFIG_H +#define WEECHAT_TRIGGER_CONFIG_H 1 #define TRIGGER_CONFIG_NAME "trigger" #define TRIGGER_CONFIG_SECTION_TRIGGER "trigger" @@ -48,4 +48,4 @@ extern int trigger_config_read (); extern int trigger_config_write (); extern void trigger_config_free (); -#endif /* __WEECHAT_TRIGGER_CONFIG_H */ +#endif /* WEECHAT_TRIGGER_CONFIG_H */ diff --git a/src/plugins/trigger/trigger.h b/src/plugins/trigger/trigger.h index 2c7346266..bf559b620 100644 --- a/src/plugins/trigger/trigger.h +++ b/src/plugins/trigger/trigger.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_TRIGGER_H -#define __WEECHAT_TRIGGER_H 1 +#ifndef WEECHAT_TRIGGER_H +#define WEECHAT_TRIGGER_H 1 #include @@ -157,4 +157,4 @@ extern struct t_trigger *trigger_copy (struct t_trigger *trigger, extern void trigger_free (struct t_trigger *trigger); extern void trigger_free_all (); -#endif /* __WEECHAT_TRIGGER_H */ +#endif /* WEECHAT_TRIGGER_H */ diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 9f3d219d0..c17d28991 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -19,8 +19,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_WEECHAT_PLUGIN_H -#define __WEECHAT_WEECHAT_PLUGIN_H 1 +#ifndef WEECHAT_WEECHAT_PLUGIN_H +#define WEECHAT_WEECHAT_PLUGIN_H 1 #ifdef __cplusplus extern "C" { @@ -956,7 +956,7 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); weechat_plugin->iconv_to_internal(__charset, __string) #define weechat_iconv_from_internal(__charset, __string) \ weechat_plugin->iconv_from_internal(__charset, __string) -#ifndef __WEECHAT_H +#ifndef WEECHAT_H #ifndef _ #define _(string) weechat_plugin->gettext(string) #endif /* _ */ @@ -967,7 +967,7 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); #define NG_(single,plural,number) \ weechat_plugin->ngettext(single, plural, number) #endif /* NG_ */ -#endif /* __WEECHAT_H */ +#endif /* WEECHAT_H */ #define weechat_gettext(string) weechat_plugin->gettext(string) #define weechat_ngettext(single,plural,number) \ weechat_plugin->ngettext(single, plural, number) @@ -1758,4 +1758,4 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); } #endif -#endif /* __WEECHAT_WEECHAT_PLUGIN_H */ +#endif /* WEECHAT_WEECHAT_PLUGIN_H */ diff --git a/src/plugins/xfer/xfer-buffer.h b/src/plugins/xfer/xfer-buffer.h index d31637c21..9ab364344 100644 --- a/src/plugins/xfer/xfer-buffer.h +++ b/src/plugins/xfer/xfer-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_BUFFER_H -#define __WEECHAT_XFER_BUFFER_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 /* __WEECHAT_XFER_BUFFER_H */ +#endif /* WEECHAT_XFER_BUFFER_H */ diff --git a/src/plugins/xfer/xfer-chat.h b/src/plugins/xfer/xfer-chat.h index f02d0aa15..091308013 100644 --- a/src/plugins/xfer/xfer-chat.h +++ b/src/plugins/xfer/xfer-chat.h @@ -17,11 +17,11 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_CHAT_H -#define __WEECHAT_XFER_CHAT_H 1 +#ifndef WEECHAT_XFER_CHAT_H +#define WEECHAT_XFER_CHAT_H 1 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 /* __WEECHAT_XFER_CHAT_H */ +#endif /* WEECHAT_XFER_CHAT_H */ diff --git a/src/plugins/xfer/xfer-command.h b/src/plugins/xfer/xfer-command.h index 510875127..a5b68b078 100644 --- a/src/plugins/xfer/xfer-command.h +++ b/src/plugins/xfer/xfer-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_COMMAND_H -#define __WEECHAT_XFER_COMMAND_H 1 +#ifndef WEECHAT_XFER_COMMAND_H +#define WEECHAT_XFER_COMMAND_H 1 extern void xfer_command_init (); -#endif /* __WEECHAT_XFER_COMMAND_H */ +#endif /* WEECHAT_XFER_COMMAND_H */ diff --git a/src/plugins/xfer/xfer-completion.h b/src/plugins/xfer/xfer-completion.h index 06ff21d22..e4884301e 100644 --- a/src/plugins/xfer/xfer-completion.h +++ b/src/plugins/xfer/xfer-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_COMPLETION_H -#define __WEECHAT_XFER_COMPLETION_H 1 +#ifndef WEECHAT_XFER_COMPLETION_H +#define WEECHAT_XFER_COMPLETION_H 1 extern void xfer_completion_init (); -#endif /* __WEECHAT_XFER_COMPLETION_H */ +#endif /* WEECHAT_XFER_COMPLETION_H */ diff --git a/src/plugins/xfer/xfer-config.h b/src/plugins/xfer/xfer-config.h index 65f38538d..3f49131cb 100644 --- a/src/plugins/xfer/xfer-config.h +++ b/src/plugins/xfer/xfer-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_CONFIG_H -#define __WEECHAT_XFER_CONFIG_H 1 +#ifndef WEECHAT_XFER_CONFIG_H +#define WEECHAT_XFER_CONFIG_H 1 #define XFER_CONFIG_NAME "xfer" @@ -57,4 +57,4 @@ extern int xfer_config_init (); extern int xfer_config_read (); extern int xfer_config_write (); -#endif /* __WEECHAT_XFER_CONFIG_H */ +#endif /* WEECHAT_XFER_CONFIG_H */ diff --git a/src/plugins/xfer/xfer-dcc.h b/src/plugins/xfer/xfer-dcc.h index 3db7fc64e..28265443e 100644 --- a/src/plugins/xfer/xfer-dcc.h +++ b/src/plugins/xfer/xfer-dcc.h @@ -17,10 +17,10 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_DCC_H -#define __WEECHAT_XFER_DCC_H 1 +#ifndef WEECHAT_XFER_DCC_H +#define WEECHAT_XFER_DCC_H 1 extern void xfer_dcc_send_file_child (struct t_xfer *xfer); extern void xfer_dcc_recv_file_child (struct t_xfer *xfer); -#endif /* __WEECHAT_XFER_DCC_H */ +#endif /* WEECHAT_XFER_DCC_H */ diff --git a/src/plugins/xfer/xfer-file.h b/src/plugins/xfer/xfer-file.h index c22ea38c2..58f9a6bd4 100644 --- a/src/plugins/xfer/xfer-file.h +++ b/src/plugins/xfer/xfer-file.h @@ -17,10 +17,10 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_FILE_H -#define __WEECHAT_XFER_FILE_H 1 +#ifndef WEECHAT_XFER_FILE_H +#define WEECHAT_XFER_FILE_H 1 extern void xfer_file_find_filename (struct t_xfer *xfer); extern void xfer_file_calculate_speed (struct t_xfer *xfer, int ended); -#endif /* __WEECHAT_XFER_FILE_H */ +#endif /* WEECHAT_XFER_FILE_H */ diff --git a/src/plugins/xfer/xfer-info.h b/src/plugins/xfer/xfer-info.h index 046010cbb..511fe8870 100644 --- a/src/plugins/xfer/xfer-info.h +++ b/src/plugins/xfer/xfer-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_INFO_H -#define __WEECHAT_XFER_INFO_H 1 +#ifndef WEECHAT_XFER_INFO_H +#define WEECHAT_XFER_INFO_H 1 extern void xfer_info_init (); -#endif /* __WEECHAT_XFER_INFO_H */ +#endif /* WEECHAT_XFER_INFO_H */ diff --git a/src/plugins/xfer/xfer-network.h b/src/plugins/xfer/xfer-network.h index 7798c3702..eb9838400 100644 --- a/src/plugins/xfer/xfer-network.h +++ b/src/plugins/xfer/xfer-network.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_NETWORK_H -#define __WEECHAT_XFER_NETWORK_H 1 +#ifndef WEECHAT_XFER_NETWORK_H +#define WEECHAT_XFER_NETWORK_H 1 extern void xfer_network_write_pipe (struct t_xfer *xfer, int status, int error); @@ -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 /* __WEECHAT_XFER_NETWORK_H */ +#endif /* WEECHAT_XFER_NETWORK_H */ diff --git a/src/plugins/xfer/xfer-upgrade.h b/src/plugins/xfer/xfer-upgrade.h index a8fa1eb94..e18718ca3 100644 --- a/src/plugins/xfer/xfer-upgrade.h +++ b/src/plugins/xfer/xfer-upgrade.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_UPGRADE_H -#define __WEECHAT_XFER_UPGRADE_H 1 +#ifndef WEECHAT_XFER_UPGRADE_H +#define WEECHAT_XFER_UPGRADE_H 1 #define XFER_UPGRADE_FILENAME "xfer" @@ -32,4 +32,4 @@ enum t_xfer_upgrade_type extern int xfer_upgrade_save (); extern int xfer_upgrade_load (); -#endif /* __WEECHAT_XFER_UPGRADE_H */ +#endif /* WEECHAT_XFER_UPGRADE_H */ diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h index c9c1edd72..6d383c568 100644 --- a/src/plugins/xfer/xfer.h +++ b/src/plugins/xfer/xfer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see . */ -#ifndef __WEECHAT_XFER_H -#define __WEECHAT_XFER_H 1 +#ifndef WEECHAT_XFER_H +#define WEECHAT_XFER_H 1 #include #include @@ -205,4 +205,4 @@ extern void xfer_free (struct t_xfer *xfer); extern int xfer_add_to_infolist (struct t_infolist *infolist, struct t_xfer *xfer); -#endif /* __WEECHAT_XFER_H */ +#endif /* WEECHAT_XFER_H */