diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-10 20:05:16 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-10 20:05:16 +0200 |
commit | 9bad3f44dbf88104a1ecc61d40dca17f15a209d6 (patch) | |
tree | 7f23f022fb9de453c22730f2315160728fc9362c /src | |
parent | c58716809cde8697469f7a88f1b8d6a01bd62d13 (diff) | |
download | weechat-9bad3f44dbf88104a1ecc61d40dca17f15a209d6.zip |
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
Diffstat (limited to 'src')
176 files changed, 430 insertions, 430 deletions
diff --git a/src/core/wee-arraylist.h b/src/core/wee-arraylist.h index abed6114f..910982c4e 100644 --- a/src/core/wee-arraylist.h +++ b/src/core/wee-arraylist.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_ARRAYLIST_H -#define WEECHAT_ARRAYLIST_H 1 +#define WEECHAT_ARRAYLIST_H struct t_arraylist; diff --git a/src/core/wee-backtrace.h b/src/core/wee-backtrace.h index 341f9c9a4..353dd00e5 100644 --- a/src/core/wee-backtrace.h +++ b/src/core/wee-backtrace.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_BACKTACE_H -#define WEECHAT_BACKTACE_H 1 +#define WEECHAT_BACKTACE_H #define BACKTRACE_MAX 128 diff --git a/src/core/wee-command.h b/src/core/wee-command.h index 9c7dab125..aa1e0d357 100644 --- a/src/core/wee-command.h +++ b/src/core/wee-command.h @@ -19,7 +19,7 @@ */ #ifndef WEECHAT_COMMAND_H -#define WEECHAT_COMMAND_H 1 +#define WEECHAT_COMMAND_H #define COMMAND_CALLBACK(__command) \ int \ diff --git a/src/core/wee-completion.h b/src/core/wee-completion.h index 65ff60a3e..d30c125ae 100644 --- a/src/core/wee-completion.h +++ b/src/core/wee-completion.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_COMPLETION_H -#define WEECHAT_COMPLETION_H 1 +#define WEECHAT_COMPLETION_H struct t_gui_buffer; struct t_gui_completion; diff --git a/src/core/wee-config-file.h b/src/core/wee-config-file.h index a310b353b..44b62e12c 100644 --- a/src/core/wee-config-file.h +++ b/src/core/wee-config-file.h @@ -19,7 +19,7 @@ */ #ifndef WEECHAT_CONFIG_FILE_H -#define WEECHAT_CONFIG_FILE_H 1 +#define WEECHAT_CONFIG_FILE_H #define CONFIG_BOOLEAN(option) (*((int *)((option)->value))) #define CONFIG_BOOLEAN_DEFAULT(option) (*((int *)((option)->default_value))) diff --git a/src/core/wee-config.h b/src/core/wee-config.h index 1ab3b763d..f72c7de4d 100644 --- a/src/core/wee-config.h +++ b/src/core/wee-config.h @@ -19,7 +19,7 @@ */ #ifndef WEECHAT_CONFIG_H -#define WEECHAT_CONFIG_H 1 +#define WEECHAT_CONFIG_H #include <regex.h> #include <wctype.h> diff --git a/src/core/wee-debug.h b/src/core/wee-debug.h index 7cd3811b7..cc116a2c6 100644 --- a/src/core/wee-debug.h +++ b/src/core/wee-debug.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_DEBUG_H -#define WEECHAT_DEBUG_H 1 +#define WEECHAT_DEBUG_H struct t_gui_window_tree; diff --git a/src/core/wee-eval.h b/src/core/wee-eval.h index 4b4967bc3..a8453716c 100644 --- a/src/core/wee-eval.h +++ b/src/core/wee-eval.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_EVAL_H -#define WEECHAT_EVAL_H 1 +#define WEECHAT_EVAL_H #include <regex.h> diff --git a/src/core/wee-hashtable.h b/src/core/wee-hashtable.h index 38706d7cb..40e983216 100644 --- a/src/core/wee-hashtable.h +++ b/src/core/wee-hashtable.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_HASHTABLE_H -#define WEECHAT_HASHTABLE_H 1 +#define WEECHAT_HASHTABLE_H struct t_hashtable; struct t_infolist_item; diff --git a/src/core/wee-hdata.h b/src/core/wee-hdata.h index eaa2a3431..d38b9a35d 100644 --- a/src/core/wee-hdata.h +++ b/src/core/wee-hdata.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_HDATA_H -#define WEECHAT_HDATA_H 1 +#define WEECHAT_HDATA_H #include <time.h> diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index d721138b6..a426d0bde 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -19,7 +19,7 @@ */ #ifndef WEECHAT_HOOK_H -#define WEECHAT_HOOK_H 1 +#define WEECHAT_HOOK_H #include <unistd.h> #include <time.h> diff --git a/src/core/wee-infolist.h b/src/core/wee-infolist.h index 1502ae84b..bf92b8fac 100644 --- a/src/core/wee-infolist.h +++ b/src/core/wee-infolist.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_INFOLIST_H -#define WEECHAT_INFOLIST_H 1 +#define WEECHAT_INFOLIST_H #include <time.h> diff --git a/src/core/wee-input.h b/src/core/wee-input.h index d9567b5c2..dcdc0689a 100644 --- a/src/core/wee-input.h +++ b/src/core/wee-input.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_INPUT_H -#define WEECHAT_INPUT_H 1 +#define WEECHAT_INPUT_H struct t_gui_buffer; struct t_weechat_plugin; diff --git a/src/core/wee-list.h b/src/core/wee-list.h index dbdd01376..c4259a923 100644 --- a/src/core/wee-list.h +++ b/src/core/wee-list.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_LIST_H -#define WEECHAT_LIST_H 1 +#define WEECHAT_LIST_H struct t_weelist_item { diff --git a/src/core/wee-log.h b/src/core/wee-log.h index a43ef7701..d2231f9a4 100644 --- a/src/core/wee-log.h +++ b/src/core/wee-log.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_LOG_H -#define WEECHAT_LOG_H 1 +#define WEECHAT_LOG_H extern char *weechat_log_filename; extern FILE *weechat_log_file; diff --git a/src/core/wee-network.h b/src/core/wee-network.h index d469256ab..f2d338e2c 100644 --- a/src/core/wee-network.h +++ b/src/core/wee-network.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_NETWORK_H -#define WEECHAT_NETWORK_H 1 +#define WEECHAT_NETWORK_H #include <sys/types.h> #include <sys/socket.h> diff --git a/src/core/wee-proxy.h b/src/core/wee-proxy.h index 5bfdf1ab8..370f9dbed 100644 --- a/src/core/wee-proxy.h +++ b/src/core/wee-proxy.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_PROXY_H -#define WEECHAT_PROXY_H 1 +#define WEECHAT_PROXY_H struct t_infolist; diff --git a/src/core/wee-secure.h b/src/core/wee-secure.h index d46fa8610..8c6dd4cf3 100644 --- a/src/core/wee-secure.h +++ b/src/core/wee-secure.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_SECURE_H -#define WEECHAT_SECURE_H 1 +#define WEECHAT_SECURE_H #define SECURE_CONFIG_NAME "sec" diff --git a/src/core/wee-string.h b/src/core/wee-string.h index 0c2f0d997..77af5b8d0 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_STRING_H -#define WEECHAT_STRING_H 1 +#define WEECHAT_STRING_H #include <stdint.h> #include <regex.h> diff --git a/src/core/wee-upgrade-file.h b/src/core/wee-upgrade-file.h index b2cd119ed..4b328b730 100644 --- a/src/core/wee-upgrade-file.h +++ b/src/core/wee-upgrade-file.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_UPGRADE_FILE_H -#define WEECHAT_UPGRADE_FILE_H 1 +#define WEECHAT_UPGRADE_FILE_H #define UPGRADE_SIGNATURE "===== WeeChat Upgrade file v2.2 - binary, do not edit! =====" diff --git a/src/core/wee-upgrade.h b/src/core/wee-upgrade.h index 3b39fe547..3de40a275 100644 --- a/src/core/wee-upgrade.h +++ b/src/core/wee-upgrade.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_UPGRADE_H -#define WEECHAT_UPGRADE_H 1 +#define WEECHAT_UPGRADE_H #include "wee-upgrade-file.h" diff --git a/src/core/wee-url.h b/src/core/wee-url.h index 7f6f3b033..1ce168a83 100644 --- a/src/core/wee-url.h +++ b/src/core/wee-url.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_URL_H -#define WEECHAT_URL_H 1 +#define WEECHAT_URL_H struct t_hashtable; struct t_infolist; diff --git a/src/core/wee-utf8.h b/src/core/wee-utf8.h index fe54be58b..a1d256291 100644 --- a/src/core/wee-utf8.h +++ b/src/core/wee-utf8.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_UTF8_H -#define WEECHAT_UTF8_H 1 +#define WEECHAT_UTF8_H #ifndef __USE_XOPEN #define __USE_XOPEN diff --git a/src/core/wee-util.h b/src/core/wee-util.h index 77cef07f1..f85d2a20a 100644 --- a/src/core/wee-util.h +++ b/src/core/wee-util.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_UTIL_H -#define WEECHAT_UTIL_H 1 +#define WEECHAT_UTIL_H #include <time.h> diff --git a/src/core/wee-version.h b/src/core/wee-version.h index 30273ddc2..0d621ce2a 100644 --- a/src/core/wee-version.h +++ b/src/core/wee-version.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_VERSION_H -#define WEECHAT_VERSION_H 1 +#define WEECHAT_VERSION_H extern const char *version_get_name (); extern const char *version_get_version (); diff --git a/src/core/weechat.h b/src/core/weechat.h index f0e3785e4..78f9ccd92 100644 --- a/src/core/weechat.h +++ b/src/core/weechat.h @@ -19,7 +19,7 @@ */ #ifndef WEECHAT_H -#define WEECHAT_H 1 +#define WEECHAT_H #ifdef HAVE_CONFIG_H #include "config.h" diff --git a/src/gui/curses/gui-curses.h b/src/gui/curses/gui-curses.h index 35185f291..8147ac8e7 100644 --- a/src/gui/curses/gui-curses.h +++ b/src/gui/curses/gui-curses.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_CURSES_H -#define WEECHAT_GUI_CURSES_H 1 +#define WEECHAT_GUI_CURSES_H #include <time.h> diff --git a/src/gui/gui-bar-item.h b/src/gui/gui-bar-item.h index e657aa83f..d47d87025 100644 --- a/src/gui/gui-bar-item.h +++ b/src/gui/gui-bar-item.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_BAR_ITEM_H -#define WEECHAT_GUI_BAR_ITEM_H 1 +#define WEECHAT_GUI_BAR_ITEM_H enum t_gui_bar_item_weechat { diff --git a/src/gui/gui-bar-window.h b/src/gui/gui-bar-window.h index c5e4a1e43..0b47a540b 100644 --- a/src/gui/gui-bar-window.h +++ b/src/gui/gui-bar-window.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_BAR_WINDOW_H -#define WEECHAT_GUI_BAR_WINDOW_H 1 +#define WEECHAT_GUI_BAR_WINDOW_H #include "gui-bar.h" diff --git a/src/gui/gui-bar.h b/src/gui/gui-bar.h index 0dd5cd8ff..4e5c35d81 100644 --- a/src/gui/gui-bar.h +++ b/src/gui/gui-bar.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_BAR_H -#define WEECHAT_GUI_BAR_H 1 +#define WEECHAT_GUI_BAR_H struct t_infolist; struct t_weechat_plugin; diff --git a/src/gui/gui-buffer.h b/src/gui/gui-buffer.h index 1f009a88a..99aabcb6e 100644 --- a/src/gui/gui-buffer.h +++ b/src/gui/gui-buffer.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_BUFFER_H -#define WEECHAT_GUI_BUFFER_H 1 +#define WEECHAT_GUI_BUFFER_H #include <limits.h> #include <regex.h> diff --git a/src/gui/gui-chat.h b/src/gui/gui-chat.h index e1a6d1840..762e9b15f 100644 --- a/src/gui/gui-chat.h +++ b/src/gui/gui-chat.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_CHAT_H -#define WEECHAT_GUI_CHAT_H 1 +#define WEECHAT_GUI_CHAT_H #include <time.h> diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h index 8ffd87257..7aa74ce79 100644 --- a/src/gui/gui-color.h +++ b/src/gui/gui-color.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_COLOR_H -#define WEECHAT_GUI_COLOR_H 1 +#define WEECHAT_GUI_COLOR_H #include <regex.h> diff --git a/src/gui/gui-completion.h b/src/gui/gui-completion.h index 43b49be75..16a19b33c 100644 --- a/src/gui/gui-completion.h +++ b/src/gui/gui-completion.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_COMPLETION_H -#define WEECHAT_GUI_COMPLETION_H 1 +#define WEECHAT_GUI_COMPLETION_H #define GUI_COMPLETION_NULL 0 #define GUI_COMPLETION_COMMAND 1 diff --git a/src/gui/gui-cursor.h b/src/gui/gui-cursor.h index 2b52ebbb3..18715661b 100644 --- a/src/gui/gui-cursor.h +++ b/src/gui/gui-cursor.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_CURSOR_H -#define WEECHAT_GUI_CURSOR_H 1 +#define WEECHAT_GUI_CURSOR_H /* cursor variables */ diff --git a/src/gui/gui-filter.h b/src/gui/gui-filter.h index 04d9751fb..29149677c 100644 --- a/src/gui/gui-filter.h +++ b/src/gui/gui-filter.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_FILTER_H -#define WEECHAT_GUI_FILTER_H 1 +#define WEECHAT_GUI_FILTER_H #include <regex.h> diff --git a/src/gui/gui-focus.h b/src/gui/gui-focus.h index 93bd2b730..42418650f 100644 --- a/src/gui/gui-focus.h +++ b/src/gui/gui-focus.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_FOCUS_H -#define WEECHAT_GUI_FOCUS_H 1 +#define WEECHAT_GUI_FOCUS_H /* focus structures */ diff --git a/src/gui/gui-history.h b/src/gui/gui-history.h index ba3a5d9b7..5623e4b4d 100644 --- a/src/gui/gui-history.h +++ b/src/gui/gui-history.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_HISTORY_H -#define WEECHAT_GUI_HISTORY_H 1 +#define WEECHAT_GUI_HISTORY_H struct t_gui_buffer; diff --git a/src/gui/gui-hotlist.h b/src/gui/gui-hotlist.h index 56138292f..07105d3ac 100644 --- a/src/gui/gui-hotlist.h +++ b/src/gui/gui-hotlist.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_HOTLIST_H -#define WEECHAT_GUI_HOTLIST_H 1 +#define WEECHAT_GUI_HOTLIST_H enum t_gui_hotlist_priority { diff --git a/src/gui/gui-input.h b/src/gui/gui-input.h index a1e903bc5..4bf251ea9 100644 --- a/src/gui/gui-input.h +++ b/src/gui/gui-input.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_INPUT_H -#define WEECHAT_GUI_INPUT_H 1 +#define WEECHAT_GUI_INPUT_H struct t_gui_buffer; diff --git a/src/gui/gui-key.h b/src/gui/gui-key.h index 8da66b58f..6e1784376 100644 --- a/src/gui/gui-key.h +++ b/src/gui/gui-key.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_KEY_H -#define WEECHAT_GUI_KEY_H 1 +#define WEECHAT_GUI_KEY_H #include <time.h> diff --git a/src/gui/gui-layout.h b/src/gui/gui-layout.h index 77683e7bc..4965449b9 100644 --- a/src/gui/gui-layout.h +++ b/src/gui/gui-layout.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_LAYOUT_H -#define WEECHAT_GUI_LAYOUT_H 1 +#define WEECHAT_GUI_LAYOUT_H #define GUI_LAYOUT_DEFAULT_NAME "default" diff --git a/src/gui/gui-line.h b/src/gui/gui-line.h index d36236370..03489a926 100644 --- a/src/gui/gui-line.h +++ b/src/gui/gui-line.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_LINE_H -#define WEECHAT_GUI_LINE_H 1 +#define WEECHAT_GUI_LINE_H #include <time.h> #include <regex.h> diff --git a/src/gui/gui-main.h b/src/gui/gui-main.h index 37191129a..b08a4eb9e 100644 --- a/src/gui/gui-main.h +++ b/src/gui/gui-main.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_MAIN_H -#define WEECHAT_GUI_MAIN_H 1 +#define WEECHAT_GUI_MAIN_H /* main functions (GUI dependent) */ diff --git a/src/gui/gui-mouse.h b/src/gui/gui-mouse.h index 55daf6533..e11f8563b 100644 --- a/src/gui/gui-mouse.h +++ b/src/gui/gui-mouse.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_MOUSE_H -#define WEECHAT_GUI_MOUSE_H 1 +#define WEECHAT_GUI_MOUSE_H /* mouse variables */ diff --git a/src/gui/gui-nick.h b/src/gui/gui-nick.h index 5ac715700..d6232c725 100644 --- a/src/gui/gui-nick.h +++ b/src/gui/gui-nick.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_NICK_H -#define WEECHAT_GUI_NICK_H 1 +#define WEECHAT_GUI_NICK_H extern const char *gui_nick_find_color (const char *nickname); extern const char *gui_nick_find_color_name (const char *nickname); diff --git a/src/gui/gui-nicklist.h b/src/gui/gui-nicklist.h index 6cc9f8d41..8e273d84a 100644 --- a/src/gui/gui-nicklist.h +++ b/src/gui/gui-nicklist.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_NICKLIST_H -#define WEECHAT_GUI_NICKLIST_H 1 +#define WEECHAT_GUI_NICKLIST_H struct t_gui_buffer; struct t_infolist; diff --git a/src/gui/gui-window.h b/src/gui/gui-window.h index 61b872ff8..ac5ca5cc6 100644 --- a/src/gui/gui-window.h +++ b/src/gui/gui-window.h @@ -18,7 +18,7 @@ */ #ifndef WEECHAT_GUI_WINDOW_H -#define WEECHAT_GUI_WINDOW_H 1 +#define WEECHAT_GUI_WINDOW_H struct t_infolist; struct t_gui_bar_window; diff --git a/src/plugins/alias/alias-command.h b/src/plugins/alias/alias-command.h index d4774dd93..bc4bae0fc 100644 --- a/src/plugins/alias/alias-command.h +++ b/src/plugins/alias/alias-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ALIAS_COMMAND_H -#define WEECHAT_ALIAS_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_ALIAS_COMMAND_H +#define WEECHAT_PLUGIN_ALIAS_COMMAND_H extern void alias_command_init (); -#endif /* WEECHAT_ALIAS_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_ALIAS_COMMAND_H */ diff --git a/src/plugins/alias/alias-completion.h b/src/plugins/alias/alias-completion.h index 02b0987d8..6237c798b 100644 --- a/src/plugins/alias/alias-completion.h +++ b/src/plugins/alias/alias-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ALIAS_COMPLETION_H -#define WEECHAT_ALIAS_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_ALIAS_COMPLETION_H +#define WEECHAT_PLUGIN_ALIAS_COMPLETION_H extern void alias_completion_init (); -#endif /* WEECHAT_ALIAS_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_ALIAS_COMPLETION_H */ diff --git a/src/plugins/alias/alias-config.h b/src/plugins/alias/alias-config.h index 6dba8b594..a609a65ea 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ALIAS_CONFIG_H -#define WEECHAT_ALIAS_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_ALIAS_CONFIG_H +#define WEECHAT_PLUGIN_ALIAS_CONFIG_H 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_PLUGIN_ALIAS_CONFIG_H */ diff --git a/src/plugins/alias/alias-info.h b/src/plugins/alias/alias-info.h index 3fcbc17fa..5f117718d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ALIAS_INFO_H -#define WEECHAT_ALIAS_INFO_H 1 +#ifndef WEECHAT_PLUGIN_ALIAS_INFO_H +#define WEECHAT_PLUGIN_ALIAS_INFO_H extern void alias_info_init (); -#endif /* WEECHAT_ALIAS_INFO_H */ +#endif /* WEECHAT_PLUGIN_ALIAS_INFO_H */ diff --git a/src/plugins/alias/alias.h b/src/plugins/alias/alias.h index cf43c6d7a..3d15155d6 100644 --- a/src/plugins/alias/alias.h +++ b/src/plugins/alias/alias.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ALIAS_H -#define WEECHAT_ALIAS_H 1 +#ifndef WEECHAT_PLUGIN_ALIAS_H +#define WEECHAT_PLUGIN_ALIAS_H #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_PLUGIN_ALIAS_H */ diff --git a/src/plugins/aspell/weechat-aspell-bar-item.h b/src/plugins/aspell/weechat-aspell-bar-item.h index 678bf9732..da8ebf714 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_BAR_ITEM_H -#define WEECHAT_ASPELL_BAR_ITEM_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H +#define WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H extern void weechat_aspell_bar_item_init (); -#endif /* WEECHAT_ASPELL_BAR_ITEM_H */ +#endif /* WEECHAT_PLUGIN_ASPELL_BAR_ITEM_H */ diff --git a/src/plugins/aspell/weechat-aspell-command.h b/src/plugins/aspell/weechat-aspell-command.h index 61e0fe5e4..26d1cadcc 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_COMMAND_H -#define WEECHAT_ASPELL_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_COMMAND_H +#define WEECHAT_PLUGIN_ASPELL_COMMAND_H extern void weechat_aspell_command_init (); -#endif /* WEECHAT_ASPELL_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_ASPELL_COMMAND_H */ diff --git a/src/plugins/aspell/weechat-aspell-completion.h b/src/plugins/aspell/weechat-aspell-completion.h index 067211fda..6283868af 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_COMPLETION_H -#define WEECHAT_ASPELL_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_COMPLETION_H +#define WEECHAT_PLUGIN_ASPELL_COMPLETION_H extern void weechat_aspell_completion_init (); -#endif /* WEECHAT_ASPELL_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_ASPELL_COMPLETION_H */ diff --git a/src/plugins/aspell/weechat-aspell-config.h b/src/plugins/aspell/weechat-aspell-config.h index dc0d42043..b2aa73535 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_CONFIG_H -#define WEECHAT_ASPELL_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_CONFIG_H +#define WEECHAT_PLUGIN_ASPELL_CONFIG_H #define ASPELL_CONFIG_NAME "aspell" @@ -51,4 +51,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_PLUGIN_ASPELL_CONFIG_H */ diff --git a/src/plugins/aspell/weechat-aspell-info.h b/src/plugins/aspell/weechat-aspell-info.h index 6f9155470..ac423f7f4 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_INFO_H -#define WEECHAT_ASPELL_INFO_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_INFO_H +#define WEECHAT_PLUGIN_ASPELL_INFO_H extern void weechat_aspell_info_init (); -#endif /* WEECHAT_ASPELL_INFO_H */ +#endif /* WEECHAT_PLUGIN_ASPELL_INFO_H */ diff --git a/src/plugins/aspell/weechat-aspell-speller.h b/src/plugins/aspell/weechat-aspell-speller.h index 620451a3f..aa24166df 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_SPELLER_H -#define WEECHAT_ASPELL_SPELLER_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_SPELLER_H +#define WEECHAT_PLUGIN_ASPELL_SPELLER_H 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_PLUGIN_ASPELL_SPELLER_H */ diff --git a/src/plugins/aspell/weechat-aspell.h b/src/plugins/aspell/weechat-aspell.h index a21dbf70f..b32f70edf 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_ASPELL_H -#define WEECHAT_ASPELL_H 1 +#ifndef WEECHAT_PLUGIN_ASPELL_H +#define WEECHAT_PLUGIN_ASPELL_H #ifdef USE_ENCHANT #include <enchant.h> @@ -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_PLUGIN_ASPELL_H */ diff --git a/src/plugins/buflist/buflist-bar-item.h b/src/plugins/buflist/buflist-bar-item.h index c8626c0cf..a3a9df5cc 100644 --- a/src/plugins/buflist/buflist-bar-item.h +++ b/src/plugins/buflist/buflist-bar-item.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_BUFLIST_BAR_ITEM_H -#define WEECHAT_BUFLIST_BAR_ITEM_H 1 +#ifndef WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H +#define WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H #define BUFLIST_BAR_ITEM_NAME "buflist" @@ -28,4 +28,4 @@ extern void buflist_bar_item_update (); extern int buflist_bar_item_init (); extern void buflist_bar_item_end (); -#endif /* WEECHAT_BUFLIST_BAR_ITEM_H */ +#endif /* WEECHAT_PLUGIN_BUFLIST_BAR_ITEM_H */ diff --git a/src/plugins/buflist/buflist-command.h b/src/plugins/buflist/buflist-command.h index 5f622ecee..b45fb0397 100644 --- a/src/plugins/buflist/buflist-command.h +++ b/src/plugins/buflist/buflist-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_BUFLIST_COMMAND_H -#define WEECHAT_BUFLIST_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_BUFLIST_COMMAND_H +#define WEECHAT_PLUGIN_BUFLIST_COMMAND_H extern void buflist_command_init (); -#endif /* WEECHAT_BUFLIST_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_BUFLIST_COMMAND_H */ diff --git a/src/plugins/buflist/buflist-config.h b/src/plugins/buflist/buflist-config.h index f8895873c..08b611131 100644 --- a/src/plugins/buflist/buflist-config.h +++ b/src/plugins/buflist/buflist-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_BUFLIST_CONFIG_H -#define WEECHAT_BUFLIST_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_BUFLIST_CONFIG_H +#define WEECHAT_PLUGIN_BUFLIST_CONFIG_H #define BUFLIST_CONFIG_NAME "buflist" @@ -64,4 +64,4 @@ extern int buflist_config_read (); extern int buflist_config_write (); extern void buflist_config_free (); -#endif /* WEECHAT_BUFLIST_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_BUFLIST_CONFIG_H */ diff --git a/src/plugins/buflist/buflist-mouse.h b/src/plugins/buflist/buflist-mouse.h index df4c4e393..872fc6551 100644 --- a/src/plugins/buflist/buflist-mouse.h +++ b/src/plugins/buflist/buflist-mouse.h @@ -17,12 +17,12 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_BUFLIST_MOUSE_H -#define WEECHAT_BUFLIST_MOUSE_H 1 +#ifndef WEECHAT_PLUGIN_BUFLIST_MOUSE_H +#define WEECHAT_PLUGIN_BUFLIST_MOUSE_H #define BUFLIST_MOUSE_HSIGNAL "buflist_mouse" extern int buflist_mouse_init (); extern void buflist_mouse_end (); -#endif /* WEECHAT_BUFLIST_MOUSE_H */ +#endif /* WEECHAT_PLUGIN_BUFLIST_MOUSE_H */ diff --git a/src/plugins/buflist/buflist.h b/src/plugins/buflist/buflist.h index 91e3062e3..eb700954a 100644 --- a/src/plugins/buflist/buflist.h +++ b/src/plugins/buflist/buflist.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_BUFLIST_H -#define WEECHAT_BUFLIST_H 1 +#ifndef WEECHAT_PLUGIN_BUFLIST_H +#define WEECHAT_PLUGIN_BUFLIST_H #define weechat_plugin weechat_buflist_plugin #define BUFLIST_PLUGIN_NAME "buflist" @@ -38,4 +38,4 @@ extern void buflist_buffer_get_irc_pointers(struct t_gui_buffer *buffer, void **irc_server, void **irc_channel); extern struct t_arraylist *buflist_sort_buffers (); -#endif /* WEECHAT_BUFLIST_H */ +#endif /* WEECHAT_PLUGIN_BUFLIST_H */ diff --git a/src/plugins/exec/exec-buffer.h b/src/plugins/exec/exec-buffer.h index 1877ec04c..01024ec9f 100644 --- a/src/plugins/exec/exec-buffer.h +++ b/src/plugins/exec/exec-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_EXEC_BUFFER_H -#define WEECHAT_EXEC_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_EXEC_BUFFER_H +#define WEECHAT_PLUGIN_EXEC_BUFFER_H extern void exec_buffer_set_callbacks (); extern struct t_gui_buffer *exec_buffer_new (const char *name, @@ -26,4 +26,4 @@ extern struct t_gui_buffer *exec_buffer_new (const char *name, int clear_buffer, int switch_to_buffer); -#endif /* WEECHAT_EXEC_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_EXEC_BUFFER_H */ diff --git a/src/plugins/exec/exec-command.h b/src/plugins/exec/exec-command.h index 06be3ae4a..2b3695e06 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_EXEC_COMMAND_H -#define WEECHAT_EXEC_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_EXEC_COMMAND_H +#define WEECHAT_PLUGIN_EXEC_COMMAND_H struct t_exec_cmd_options { @@ -48,4 +48,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_PLUGIN_EXEC_COMMAND_H */ diff --git a/src/plugins/exec/exec-completion.h b/src/plugins/exec/exec-completion.h index c44fabad9..15edcea3e 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_EXEC_COMPLETION_H -#define WEECHAT_EXEC_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_EXEC_COMPLETION_H +#define WEECHAT_PLUGIN_EXEC_COMPLETION_H extern void exec_completion_init (); -#endif /* WEECHAT_EXEC_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_EXEC_COMPLETION_H */ diff --git a/src/plugins/exec/exec-config.h b/src/plugins/exec/exec-config.h index 667b6e48f..233c7c255 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_EXEC_CONFIG_H -#define WEECHAT_EXEC_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_EXEC_CONFIG_H +#define WEECHAT_PLUGIN_EXEC_CONFIG_H #define EXEC_CONFIG_NAME "exec" @@ -38,4 +38,4 @@ extern int exec_config_read (); extern int exec_config_write (); extern void exec_config_free (); -#endif /* WEECHAT_EXEC_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_EXEC_CONFIG_H */ diff --git a/src/plugins/exec/exec.h b/src/plugins/exec/exec.h index 31003773c..15257cedc 100644 --- a/src/plugins/exec/exec.h +++ b/src/plugins/exec/exec.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_EXEC_H -#define WEECHAT_EXEC_H 1 +#ifndef WEECHAT_PLUGIN_EXEC_H +#define WEECHAT_PLUGIN_EXEC_H #include <unistd.h> #include <time.h> @@ -88,4 +88,4 @@ extern int exec_process_cb (const void *pointer, void *data, extern void exec_free (struct t_exec_cmd *exec_cmd); extern void exec_free_all (); -#endif /* WEECHAT_EXEC_H */ +#endif /* WEECHAT_PLUGIN_EXEC_H */ diff --git a/src/plugins/fifo/fifo-command.h b/src/plugins/fifo/fifo-command.h index 476d03966..27f6a8802 100644 --- a/src/plugins/fifo/fifo-command.h +++ b/src/plugins/fifo/fifo-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FIFO_COMMAND_H -#define WEECHAT_FIFO_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_FIFO_COMMAND_H +#define WEECHAT_PLUGIN_FIFO_COMMAND_H extern void fifo_command_init (); -#endif /* WEECHAT_FIFO_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_FIFO_COMMAND_H */ diff --git a/src/plugins/fifo/fifo-config.h b/src/plugins/fifo/fifo-config.h index ea7923905..89223577b 100644 --- a/src/plugins/fifo/fifo-config.h +++ b/src/plugins/fifo/fifo-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FIFO_CONFIG_H -#define WEECHAT_FIFO_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_FIFO_CONFIG_H +#define WEECHAT_PLUGIN_FIFO_CONFIG_H #define FIFO_CONFIG_NAME "fifo" @@ -31,4 +31,4 @@ extern int fifo_config_read (); extern int fifo_config_write (); extern void fifo_config_free (); -#endif /* WEECHAT_FIFO_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_FIFO_CONFIG_H */ diff --git a/src/plugins/fifo/fifo-info.h b/src/plugins/fifo/fifo-info.h index 27acec1bd..2f61345cc 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FIFO_INFO_H -#define WEECHAT_FIFO_INFO_H 1 +#ifndef WEECHAT_PLUGIN_FIFO_INFO_H +#define WEECHAT_PLUGIN_FIFO_INFO_H extern void fifo_info_init (); -#endif /* WEECHAT_FIFO_INFO_H */ +#endif /* WEECHAT_PLUGIN_FIFO_INFO_H */ diff --git a/src/plugins/fifo/fifo.h b/src/plugins/fifo/fifo.h index 4c63ed7a6..0b3f54603 100644 --- a/src/plugins/fifo/fifo.h +++ b/src/plugins/fifo/fifo.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FIFO_H -#define WEECHAT_FIFO_H 1 +#ifndef WEECHAT_PLUGIN_FIFO_H +#define WEECHAT_PLUGIN_FIFO_H #define weechat_plugin weechat_fifo_plugin #define FIFO_PLUGIN_NAME "fifo" @@ -31,4 +31,4 @@ extern char *fifo_filename; extern void fifo_create (); extern void fifo_remove (); -#endif /* WEECHAT_FIFO_H */ +#endif /* WEECHAT_PLUGIN_FIFO_H */ diff --git a/src/plugins/fset/fset-bar-item.h b/src/plugins/fset/fset-bar-item.h index b79ea50c6..c7c9c4e19 100644 --- a/src/plugins/fset/fset-bar-item.h +++ b/src/plugins/fset/fset-bar-item.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_BAR_ITEM_H -#define WEECHAT_FSET_BAR_ITEM_H 1 +#ifndef WEECHAT_PLUGIN_FSET_BAR_ITEM_H +#define WEECHAT_PLUGIN_FSET_BAR_ITEM_H #define FSET_BAR_ITEM_NAME "fset" @@ -26,4 +26,4 @@ extern void fset_bar_item_update (); extern int fset_bar_item_init (); extern void fset_bar_item_end (); -#endif /* WEECHAT_FSET_BAR_ITEM_H */ +#endif /* WEECHAT_PLUGIN_FSET_BAR_ITEM_H */ diff --git a/src/plugins/fset/fset-buffer.h b/src/plugins/fset/fset-buffer.h index 1609275cf..4acbe7d5f 100644 --- a/src/plugins/fset/fset-buffer.h +++ b/src/plugins/fset/fset-buffer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_BUFFER_H -#define WEECHAT_FSET_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_FSET_BUFFER_H +#define WEECHAT_PLUGIN_FSET_BUFFER_H #define FSET_BUFFER_NAME "fset" @@ -43,4 +43,4 @@ extern void fset_buffer_open (); extern int fset_buffer_init (); extern void fset_buffer_end (); -#endif /* WEECHAT_FSET_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_FSET_BUFFER_H */ diff --git a/src/plugins/fset/fset-command.h b/src/plugins/fset/fset-command.h index 47053fc68..93b1e1e8a 100644 --- a/src/plugins/fset/fset-command.h +++ b/src/plugins/fset/fset-command.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_COMMAND_H -#define WEECHAT_FSET_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_FSET_COMMAND_H +#define WEECHAT_PLUGIN_FSET_COMMAND_H extern void fset_command_init (); -#endif /* WEECHAT_FSET_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_FSET_COMMAND_H */ diff --git a/src/plugins/fset/fset-completion.h b/src/plugins/fset/fset-completion.h index 0e5036a1a..1154f7930 100644 --- a/src/plugins/fset/fset-completion.h +++ b/src/plugins/fset/fset-completion.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_COMPLETION_H -#define WEECHAT_FSET_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_FSET_COMPLETION_H +#define WEECHAT_PLUGIN_FSET_COMPLETION_H extern void fset_completion_init (); -#endif /* WEECHAT_FSET_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_FSET_COMPLETION_H */ diff --git a/src/plugins/fset/fset-config.h b/src/plugins/fset/fset-config.h index 2d099199b..7f396e69f 100644 --- a/src/plugins/fset/fset-config.h +++ b/src/plugins/fset/fset-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_CONFIG_H -#define WEECHAT_FSET_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_FSET_CONFIG_H +#define WEECHAT_PLUGIN_FSET_CONFIG_H #define FSET_CONFIG_NAME "fset" @@ -88,4 +88,4 @@ extern int fset_config_read (); extern int fset_config_write (); extern void fset_config_free (); -#endif /* WEECHAT_FSET_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_FSET_CONFIG_H */ diff --git a/src/plugins/fset/fset-info.h b/src/plugins/fset/fset-info.h index 6a381acce..c0311fd3c 100644 --- a/src/plugins/fset/fset-info.h +++ b/src/plugins/fset/fset-info.h @@ -17,9 +17,9 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_INFO_H -#define WEECHAT_FSET_INFO_H 1 +#ifndef WEECHAT_PLUGIN_FSET_INFO_H +#define WEECHAT_PLUGIN_FSET_INFO_H extern void fset_info_init (); -#endif /* WEECHAT_FSET_INFO_H */ +#endif /* WEECHAT_PLUGIN_FSET_INFO_H */ diff --git a/src/plugins/fset/fset-mouse.h b/src/plugins/fset/fset-mouse.h index d7a8e5e42..129cb4b9d 100644 --- a/src/plugins/fset/fset-mouse.h +++ b/src/plugins/fset/fset-mouse.h @@ -17,12 +17,12 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_MOUSE_H -#define WEECHAT_FSET_MOUSE_H 1 +#ifndef WEECHAT_PLUGIN_FSET_MOUSE_H +#define WEECHAT_PLUGIN_FSET_MOUSE_H #define FSET_MOUSE_HSIGNAL "fset_mouse" extern int fset_mouse_init (); extern void fset_mouse_end (); -#endif /* WEECHAT_FSET_MOUSE_H */ +#endif /* WEECHAT_PLUGIN_FSET_MOUSE_H */ diff --git a/src/plugins/fset/fset-option.h b/src/plugins/fset/fset-option.h index 93159ac9a..d8418f577 100644 --- a/src/plugins/fset/fset-option.h +++ b/src/plugins/fset/fset-option.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_OPTION_H -#define WEECHAT_FSET_OPTION_H 1 +#ifndef WEECHAT_PLUGIN_FSET_OPTION_H +#define WEECHAT_PLUGIN_FSET_OPTION_H #define FSET_OPTION_VALUE_NULL "null" @@ -129,4 +129,4 @@ extern void fset_option_print_log (); extern int fset_option_init (); extern void fset_option_end (); -#endif /* WEECHAT_FSET_OPTION_H */ +#endif /* WEECHAT_PLUGIN_FSET_OPTION_H */ diff --git a/src/plugins/fset/fset.h b/src/plugins/fset/fset.h index 10627b019..2603507b4 100644 --- a/src/plugins/fset/fset.h +++ b/src/plugins/fset/fset.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_FSET_H -#define WEECHAT_FSET_H 1 +#ifndef WEECHAT_PLUGIN_FSET_H +#define WEECHAT_PLUGIN_FSET_H #define weechat_plugin weechat_fset_plugin #define FSET_PLUGIN_NAME "fset" @@ -34,4 +34,4 @@ extern struct t_hdata *fset_hdata_fset_option; extern void fset_add_bar (); -#endif /* WEECHAT_FSET_H */ +#endif /* WEECHAT_PLUGIN_FSET_H */ diff --git a/src/plugins/guile/weechat-guile-api.h b/src/plugins/guile/weechat-guile-api.h index 0e8371f5f..fd51f4897 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_GUILE_API_H -#define WEECHAT_GUILE_API_H 1 +#ifndef WEECHAT_PLUGIN_GUILE_API_H +#define WEECHAT_PLUGIN_GUILE_API_H extern int weechat_guile_api_buffer_input_data_cb (const void *pointer, void *data, @@ -29,4 +29,4 @@ extern int weechat_guile_api_buffer_close_cb (const void *pointer, struct t_gui_buffer *buffer); extern void weechat_guile_api_module_init (void *data); -#endif /* WEECHAT_GUILE_API_H */ +#endif /* WEECHAT_PLUGIN_GUILE_API_H */ diff --git a/src/plugins/guile/weechat-guile.h b/src/plugins/guile/weechat-guile.h index 2ef3a5900..3668424cf 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_GUILE_H -#define WEECHAT_GUILE_H 1 +#ifndef WEECHAT_PLUGIN_GUILE_H +#define WEECHAT_PLUGIN_GUILE_H #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_PLUGIN_GUILE_H */ diff --git a/src/plugins/irc/irc-bar-item.h b/src/plugins/irc/irc-bar-item.h index 5889ea599..3485b18cf 100644 --- a/src/plugins/irc/irc-bar-item.h +++ b/src/plugins/irc/irc-bar-item.h @@ -17,10 +17,10 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_BAR_ITEM_H -#define WEECHAT_IRC_BAR_ITEM_H 1 +#ifndef WEECHAT_PLUGIN_IRC_BAR_ITEM_H +#define WEECHAT_PLUGIN_IRC_BAR_ITEM_H extern void irc_bar_item_update_channel (); extern void irc_bar_item_init (); -#endif /* WEECHAT_IRC_BAR_ITEM_H */ +#endif /* WEECHAT_PLUGIN_IRC_BAR_ITEM_H */ diff --git a/src/plugins/irc/irc-buffer.h b/src/plugins/irc/irc-buffer.h index cd0d828ce..a327e5fe9 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_BUFFER_H -#define WEECHAT_IRC_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_IRC_BUFFER_H +#define WEECHAT_PLUGIN_IRC_BUFFER_H #define IRC_BUFFER_GET_SERVER(__buffer) \ struct t_weechat_plugin *buffer_plugin = NULL; \ @@ -56,4 +56,4 @@ extern int irc_buffer_nickcmp_cb (const void *pointer, 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_PLUGIN_IRC_BUFFER_H */ diff --git a/src/plugins/irc/irc-channel.h b/src/plugins/irc/irc-channel.h index 73a68b712..3e74199ee 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_CHANNEL_H -#define WEECHAT_IRC_CHANNEL_H 1 +#ifndef WEECHAT_PLUGIN_IRC_CHANNEL_H +#define WEECHAT_PLUGIN_IRC_CHANNEL_H #include <time.h> @@ -168,4 +168,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_PLUGIN_IRC_CHANNEL_H */ diff --git a/src/plugins/irc/irc-color.h b/src/plugins/irc/irc-color.h index 218c20432..526c50196 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_COLOR_H -#define WEECHAT_IRC_COLOR_H 1 +#ifndef WEECHAT_PLUGIN_IRC_COLOR_H +#define WEECHAT_PLUGIN_IRC_COLOR_H #define IRC_NUM_COLORS 100 @@ -114,4 +114,4 @@ extern char *irc_color_for_tags (const char *color); extern int irc_color_weechat_add_to_infolist (struct t_infolist *infolist); extern void irc_color_end (); -#endif /* WEECHAT_IRC_COLOR_H */ +#endif /* WEECHAT_PLUGIN_IRC_COLOR_H */ diff --git a/src/plugins/irc/irc-command.h b/src/plugins/irc/irc-command.h index 67ddd506e..4fdcf862f 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_COMMAND_H -#define WEECHAT_IRC_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_IRC_COMMAND_H +#define WEECHAT_PLUGIN_IRC_COMMAND_H struct t_irc_server; struct t_irc_channel; @@ -77,4 +77,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_PLUGIN_IRC_COMMAND_H */ diff --git a/src/plugins/irc/irc-completion.h b/src/plugins/irc/irc-completion.h index 5d644f44c..6d82f94ea 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_COMPLETION_H -#define WEECHAT_IRC_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_IRC_COMPLETION_H +#define WEECHAT_PLUGIN_IRC_COMPLETION_H extern void irc_completion_init (); -#endif /* WEECHAT_IRC_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_IRC_COMPLETION_H */ diff --git a/src/plugins/irc/irc-config.h b/src/plugins/irc/irc-config.h index ab745e702..5ebed8362 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_CONFIG_H -#define WEECHAT_IRC_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_IRC_CONFIG_H +#define WEECHAT_PLUGIN_IRC_CONFIG_H #define IRC_CONFIG_NAME "irc" @@ -215,4 +215,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_PLUGIN_IRC_CONFIG_H */ diff --git a/src/plugins/irc/irc-ctcp.h b/src/plugins/irc/irc-ctcp.h index 6fe8b6999..f8ac56c69 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_CTCP_H -#define WEECHAT_IRC_CTCP_H 1 +#ifndef WEECHAT_PLUGIN_IRC_CTCP_H +#define WEECHAT_PLUGIN_IRC_CTCP_H #include <time.h> @@ -44,4 +44,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_PLUGIN_IRC_CTCP_H */ diff --git a/src/plugins/irc/irc-debug.h b/src/plugins/irc/irc-debug.h index 5305487df..d2153135d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_DEBUG_H -#define WEECHAT_IRC_DEBUG_H 1 +#ifndef WEECHAT_PLUGIN_IRC_DEBUG_H +#define WEECHAT_PLUGIN_IRC_DEBUG_H extern void irc_debug_init (); -#endif /* WEECHAT_IRC_DEBUG_H */ +#endif /* WEECHAT_PLUGIN_IRC_DEBUG_H */ diff --git a/src/plugins/irc/irc-ignore.h b/src/plugins/irc/irc-ignore.h index 887342cb1..633414a9d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_IGNORE_H -#define WEECHAT_IRC_IGNORE_H 1 +#ifndef WEECHAT_PLUGIN_IRC_IGNORE_H +#define WEECHAT_PLUGIN_IRC_IGNORE_H #include <regex.h> @@ -58,4 +58,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_PLUGIN_IRC_IGNORE_H */ diff --git a/src/plugins/irc/irc-info.h b/src/plugins/irc/irc-info.h index abe44cfb7..051cd51f5 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_INFO_H -#define WEECHAT_IRC_INFO_H 1 +#ifndef WEECHAT_PLUGIN_IRC_INFO_H +#define WEECHAT_PLUGIN_IRC_INFO_H extern void irc_info_init (); -#endif /* WEECHAT_IRC_INFO_H */ +#endif /* WEECHAT_PLUGIN_IRC_INFO_H */ diff --git a/src/plugins/irc/irc-input.h b/src/plugins/irc/irc-input.h index 023aba39d..8a14f3cb5 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_INPUT_H -#define WEECHAT_IRC_INPUT_H 1 +#ifndef WEECHAT_PLUGIN_IRC_INPUT_H +#define WEECHAT_PLUGIN_IRC_INPUT_H struct t_gui_buffer; @@ -31,4 +31,4 @@ extern int irc_input_send_cb (const void *pointer, void *data, const char *signal, const char *type_data, void *signal_data); -#endif /* WEECHAT_IRC_INPUT_H */ +#endif /* WEECHAT_PLUGIN_IRC_INPUT_H */ diff --git a/src/plugins/irc/irc-message.h b/src/plugins/irc/irc-message.h index b1fa63e30..3f6562dee 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_MESSAGE_H -#define WEECHAT_IRC_MESSAGE_H 1 +#ifndef WEECHAT_PLUGIN_IRC_MESSAGE_H +#define WEECHAT_PLUGIN_IRC_MESSAGE_H struct t_irc_server; struct t_irc_channel; @@ -43,4 +43,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_PLUGIN_IRC_MESSAGE_H */ diff --git a/src/plugins/irc/irc-mode.h b/src/plugins/irc/irc-mode.h index 03313d983..4e6979e75 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_MODE_H -#define WEECHAT_IRC_MODE_H 1 +#ifndef WEECHAT_PLUGIN_IRC_MODE_H +#define WEECHAT_PLUGIN_IRC_MODE_H struct t_irc_server; struct t_irc_channel; @@ -31,4 +31,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_PLUGIN_IRC_MODE_H */ diff --git a/src/plugins/irc/irc-msgbuffer.h b/src/plugins/irc/irc-msgbuffer.h index c2e72fe05..c1adfe4c6 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_MSGBUFFER_H -#define WEECHAT_IRC_MSGBUFFER_H 1 +#ifndef WEECHAT_PLUGIN_IRC_MSGBUFFER_H +#define WEECHAT_PLUGIN_IRC_MSGBUFFER_H enum t_irc_msgbuffer_target { @@ -38,4 +38,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_PLUGIN_IRC_MSGBUFFER_H */ diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h index f67ee6656..0209719f3 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_NICK_H -#define WEECHAT_IRC_NICK_H 1 +#ifndef WEECHAT_PLUGIN_IRC_NICK_H +#define WEECHAT_PLUGIN_IRC_NICK_H #define IRC_NICK_VALID_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHI" \ "JKLMNOPQRSTUVWXYZ0123456789-[]\\`_^{|}" @@ -109,4 +109,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_PLUGIN_IRC_NICK_H */ diff --git a/src/plugins/irc/irc-notify.h b/src/plugins/irc/irc-notify.h index 0f6778b7e..12278ec51 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_NOTIFY_H -#define WEECHAT_IRC_NOTIFY_H 1 +#ifndef WEECHAT_PLUGIN_IRC_NOTIFY_H +#define WEECHAT_PLUGIN_IRC_NOTIFY_H struct t_irc_server; @@ -75,4 +75,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_PLUGIN_IRC_NOTIFY_H */ diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h index a890fd866..f56f24ea3 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_PROTOCOL_H -#define WEECHAT_IRC_PROTOCOL_H 1 +#ifndef WEECHAT_PLUGIN_IRC_PROTOCOL_H +#define WEECHAT_PLUGIN_IRC_PROTOCOL_H #include <time.h> @@ -91,4 +91,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_PLUGIN_IRC_PROTOCOL_H */ diff --git a/src/plugins/irc/irc-raw.h b/src/plugins/irc/irc-raw.h index d0601a10c..1ab276228 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_RAW_H -#define WEECHAT_IRC_RAW_H 1 +#ifndef WEECHAT_PLUGIN_IRC_RAW_H +#define WEECHAT_PLUGIN_IRC_RAW_H #include <time.h> @@ -61,4 +61,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_PLUGIN_IRC_RAW_H */ diff --git a/src/plugins/irc/irc-redirect.h b/src/plugins/irc/irc-redirect.h index 3d3e09f9e..60e687ba4 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_REDIRECT_H -#define WEECHAT_IRC_REDIRECT_H 1 +#ifndef WEECHAT_PLUGIN_IRC_REDIRECT_H +#define WEECHAT_PLUGIN_IRC_REDIRECT_H #include <time.h> @@ -132,4 +132,4 @@ extern int irc_redirect_command_hsignal_cb (const void *pointer, void *data, extern void irc_redirect_init (); extern void irc_redirect_end (); -#endif /* WEECHAT_IRC_REDIRECT_H */ +#endif /* WEECHAT_PLUGIN_IRC_REDIRECT_H */ diff --git a/src/plugins/irc/irc-sasl.h b/src/plugins/irc/irc-sasl.h index 5c2eb1604..8e27f4f3c 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_SASL_H -#define WEECHAT_IRC_SASL_H 1 +#ifndef WEECHAT_PLUGIN_IRC_SASL_H +#define WEECHAT_PLUGIN_IRC_SASL_H struct t_irc_server; @@ -50,4 +50,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_PLUGIN_IRC_SASL_H */ diff --git a/src/plugins/irc/irc-server.h b/src/plugins/irc/irc-server.h index 8c5fc4212..bb432f99d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_SERVER_H -#define WEECHAT_IRC_SERVER_H 1 +#ifndef WEECHAT_PLUGIN_IRC_SERVER_H +#define WEECHAT_PLUGIN_IRC_SERVER_H #include <time.h> #include <sys/time.h> @@ -377,4 +377,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_PLUGIN_IRC_SERVER_H */ diff --git a/src/plugins/irc/irc-upgrade.h b/src/plugins/irc/irc-upgrade.h index 5b8c32729..8726625a1 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_UPGRADE_H -#define WEECHAT_IRC_UPGRADE_H 1 +#ifndef WEECHAT_PLUGIN_IRC_UPGRADE_H +#define WEECHAT_PLUGIN_IRC_UPGRADE_H #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_PLUGIN_IRC_UPGRADE_H */ diff --git a/src/plugins/irc/irc.h b/src/plugins/irc/irc.h index 63befef64..f29e16de7 100644 --- a/src/plugins/irc/irc.h +++ b/src/plugins/irc/irc.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_IRC_H -#define WEECHAT_IRC_H 1 +#ifndef WEECHAT_PLUGIN_IRC_H +#define WEECHAT_PLUGIN_IRC_H #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_PLUGIN_IRC_H */ diff --git a/src/plugins/javascript/weechat-js-api.h b/src/plugins/javascript/weechat-js-api.h index e2d70690e..b1c0a09d1 100644 --- a/src/plugins/javascript/weechat-js-api.h +++ b/src/plugins/javascript/weechat-js-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_JS_API_H -#define WEECHAT_JS_API_H 1 +#ifndef WEECHAT_PLUGIN_JS_API_H +#define WEECHAT_PLUGIN_JS_API_H extern int weechat_js_api_buffer_input_data_cb (const void *pointer, void *data, @@ -29,4 +29,4 @@ extern int weechat_js_api_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); -#endif /* WEECHAT_JS_API_H */ +#endif /* WEECHAT_PLUGIN_JS_API_H */ diff --git a/src/plugins/javascript/weechat-js-v8.h b/src/plugins/javascript/weechat-js-v8.h index cb897e105..ba8fffce0 100644 --- a/src/plugins/javascript/weechat-js-v8.h +++ b/src/plugins/javascript/weechat-js-v8.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_JS_V8_H -#define WEECHAT_JS_V8_H 1 +#ifndef WEECHAT_PLUGIN_JS_V8_H +#define WEECHAT_PLUGIN_JS_V8_H #include <cstdio> #include <v8.h> @@ -51,4 +51,4 @@ private: v8::Handle<v8::String> source; }; -#endif /* WEECHAT_JS_V8_H */ +#endif /* WEECHAT_PLUGIN_JS_V8_H */ diff --git a/src/plugins/javascript/weechat-js.h b/src/plugins/javascript/weechat-js.h index 02f31d4de..20f00bfd5 100644 --- a/src/plugins/javascript/weechat-js.h +++ b/src/plugins/javascript/weechat-js.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_JS_H -#define WEECHAT_JS_H 1 +#ifndef WEECHAT_PLUGIN_JS_H +#define WEECHAT_PLUGIN_JS_H #include <v8.h> @@ -59,4 +59,4 @@ extern void *weechat_js_exec (struct t_plugin_script *script, int ret_type, const char *function, const char *format, void **argv); -#endif /* WEECHAT_JS_H */ +#endif /* WEECHAT_PLUGIN_JS_H */ diff --git a/src/plugins/logger/logger-buffer.h b/src/plugins/logger/logger-buffer.h index b0ba6d9f6..4e38e15f7 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LOGGER_BUFFER_H -#define WEECHAT_LOGGER_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_LOGGER_BUFFER_H +#define WEECHAT_PLUGIN_LOGGER_BUFFER_H 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_PLUGIN_LOGGER_BUFFER_H */ diff --git a/src/plugins/logger/logger-config.h b/src/plugins/logger/logger-config.h index 37259630c..b3b3d3092 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LOGGER_CONFIG_H -#define WEECHAT_LOGGER_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_LOGGER_CONFIG_H +#define WEECHAT_PLUGIN_LOGGER_CONFIG_H #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_PLUGIN_LOGGER_CONFIG_H */ diff --git a/src/plugins/logger/logger-info.h b/src/plugins/logger/logger-info.h index 168880fdb..d749237a0 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LOGGER_INFO_H -#define WEECHAT_LOGGER_INFO_H 1 +#ifndef WEECHAT_PLUGIN_LOGGER_INFO_H +#define WEECHAT_PLUGIN_LOGGER_INFO_H extern void logger_info_init (); -#endif /* WEECHAT_LOGGER_INFO_H */ +#endif /* WEECHAT_PLUGIN_LOGGER_INFO_H */ diff --git a/src/plugins/logger/logger-tail.h b/src/plugins/logger/logger-tail.h index 395039c4c..da6828106 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LOGGER_TAIL_H -#define WEECHAT_LOGGER_TAIL_H 1 +#ifndef WEECHAT_PLUGIN_LOGGER_TAIL_H +#define WEECHAT_PLUGIN_LOGGER_TAIL_H 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_PLUGIN_LOGGER_TAIL_H */ diff --git a/src/plugins/logger/logger.h b/src/plugins/logger/logger.h index ace818216..2b91157ca 100644 --- a/src/plugins/logger/logger.h +++ b/src/plugins/logger/logger.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LOGGER_H -#define WEECHAT_LOGGER_H 1 +#ifndef WEECHAT_PLUGIN_LOGGER_H +#define WEECHAT_PLUGIN_LOGGER_H #define weechat_plugin weechat_logger_plugin #define LOGGER_PLUGIN_NAME "logger" @@ -35,4 +35,4 @@ extern void logger_adjust_log_filenames (); extern int logger_timer_cb (const void *pointer, void *data, int remaining_calls); -#endif /* WEECHAT_LOGGER_H */ +#endif /* WEECHAT_PLUGIN_LOGGER_H */ diff --git a/src/plugins/lua/weechat-lua-api.h b/src/plugins/lua/weechat-lua-api.h index c6401bcda..15e88251b 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LUA_API_H -#define WEECHAT_LUA_API_H 1 +#ifndef WEECHAT_PLUGIN_LUA_API_H +#define WEECHAT_PLUGIN_LUA_API_H extern struct luaL_Reg weechat_lua_api_funcs[]; extern struct t_lua_const weechat_lua_api_consts[]; @@ -32,4 +32,4 @@ extern int weechat_lua_api_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); -#endif /* WEECHAT_LUA_API_H */ +#endif /* WEECHAT_PLUGIN_LUA_API_H */ diff --git a/src/plugins/lua/weechat-lua.h b/src/plugins/lua/weechat-lua.h index 7a3f73cda..24dcce20e 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LUA_H -#define WEECHAT_LUA_H 1 +#ifndef WEECHAT_PLUGIN_LUA_H +#define WEECHAT_PLUGIN_LUA_H #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_PLUGIN_LUA_H */ diff --git a/src/plugins/perl/weechat-perl-api.h b/src/plugins/perl/weechat-perl-api.h index b37b95db0..d0df362e4 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PERL_API_H -#define WEECHAT_PERL_API_H 1 +#ifndef WEECHAT_PLUGIN_PERL_API_H +#define WEECHAT_PLUGIN_PERL_API_H extern int weechat_perl_api_buffer_input_data_cb (const void *pointer, void *data, @@ -29,4 +29,4 @@ extern int weechat_perl_api_buffer_close_cb (const void *pointer, struct t_gui_buffer *buffer); extern void weechat_perl_api_init (pTHX); -#endif /* WEECHAT_PERL_API_H */ +#endif /* WEECHAT_PLUGIN_PERL_API_H */ diff --git a/src/plugins/perl/weechat-perl.h b/src/plugins/perl/weechat-perl.h index d40e22938..118ca2028 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PERL_H -#define WEECHAT_PERL_H 1 +#ifndef WEECHAT_PLUGIN_PERL_H +#define WEECHAT_PLUGIN_PERL_H #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_PLUGIN_PERL_H */ diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h index 90a19733e..128d59647 100644 --- a/src/plugins/plugin-api.h +++ b/src/plugins/plugin-api.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PLUGIN_API_H -#define WEECHAT_PLUGIN_API_H 1 +#ifndef WEECHAT_PLUGIN_PLUGIN_API_H +#define WEECHAT_PLUGIN_PLUGIN_API_H #include <time.h> @@ -73,4 +73,4 @@ extern void plugin_api_infolist_free (struct t_infolist *infolist); extern void plugin_api_init (); -#endif /* WEECHAT_PLUGIN_API_H */ +#endif /* WEECHAT_PLUGIN_PLUGIN_API_H */ diff --git a/src/plugins/plugin-config.h b/src/plugins/plugin-config.h index ee9fe83b7..4381dc64b 100644 --- a/src/plugins/plugin-config.h +++ b/src/plugins/plugin-config.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PLUGIN_CONFIG_H -#define WEECHAT_PLUGIN_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_PLUGIN_CONFIG_H +#define WEECHAT_PLUGIN_PLUGIN_CONFIG_H #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_PLUGIN_CONFIG_H */ diff --git a/src/plugins/plugin-script-api.h b/src/plugins/plugin-script-api.h index f49614d1c..36a18b19b 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PLUGIN_SCRIPT_API_H -#define WEECHAT_PLUGIN_SCRIPT_API_H 1 +#ifndef WEECHAT_PLUGIN_PLUGIN_SCRIPT_API_H +#define WEECHAT_PLUGIN_PLUGIN_SCRIPT_API_H #include <time.h> @@ -370,4 +370,4 @@ extern struct t_upgrade_file *plugin_script_api_upgrade_new (struct t_weechat_pl const char *function, const char *data); -#endif /* WEECHAT_PLUGIN_SCRIPT_API_H */ +#endif /* WEECHAT_PLUGIN_PLUGIN_SCRIPT_API_H */ diff --git a/src/plugins/plugin-script.h b/src/plugins/plugin-script.h index 9202e5934..9d31b3216 100644 --- a/src/plugins/plugin-script.h +++ b/src/plugins/plugin-script.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PLUGIN_SCRIPT_H -#define WEECHAT_PLUGIN_SCRIPT_H 1 +#ifndef WEECHAT_PLUGIN_PLUGIN_SCRIPT_H +#define WEECHAT_PLUGIN_PLUGIN_SCRIPT_H /* constants which defines return types for weechat_<lang>_exec functions */ @@ -182,4 +182,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_PLUGIN_SCRIPT_H */ diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h index d7d3e386e..486ac50b4 100644 --- a/src/plugins/plugin.h +++ b/src/plugins/plugin.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PLUGIN_H -#define WEECHAT_PLUGIN_H 1 +#ifndef WEECHAT_PLUGIN_PLUGIN_H +#define WEECHAT_PLUGIN_PLUGIN_H #include "weechat-plugin.h" @@ -56,4 +56,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_PLUGIN_H */ diff --git a/src/plugins/python/weechat-python-api.h b/src/plugins/python/weechat-python-api.h index 86c1d198f..b3097ca16 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PYTHON_API_H -#define WEECHAT_PYTHON_API_H 1 +#ifndef WEECHAT_PLUGIN_PYTHON_API_H +#define WEECHAT_PLUGIN_PYTHON_API_H extern PyMethodDef weechat_python_funcs[]; @@ -31,4 +31,4 @@ extern int weechat_python_api_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); -#endif /* WEECHAT_PYTHON_API_H */ +#endif /* WEECHAT_PLUGIN_PYTHON_API_H */ diff --git a/src/plugins/python/weechat-python.h b/src/plugins/python/weechat-python.h index 29907c06f..6e2db29e5 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_PYTHON_H -#define WEECHAT_PYTHON_H 1 +#ifndef WEECHAT_PLUGIN_PYTHON_H +#define WEECHAT_PLUGIN_PYTHON_H #define weechat_plugin weechat_python_plugin #define PYTHON_PLUGIN_NAME "python" @@ -61,4 +61,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_PLUGIN_PYTHON_H */ diff --git a/src/plugins/relay/irc/relay-irc.h b/src/plugins/relay/irc/relay-irc.h index 0d02cf97a..c77769fe8 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_IRC_H -#define WEECHAT_RELAY_IRC_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_IRC_H +#define WEECHAT_PLUGIN_RELAY_IRC_H struct t_relay_client; @@ -74,4 +74,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_PLUGIN_RELAY_IRC_H */ diff --git a/src/plugins/relay/relay-buffer.h b/src/plugins/relay/relay-buffer.h index 98b388590..9770d6c3b 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_BUFFER_H -#define WEECHAT_RELAY_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_BUFFER_H +#define WEECHAT_PLUGIN_RELAY_BUFFER_H #define RELAY_BUFFER_NAME "relay.list" @@ -33,4 +33,4 @@ extern int relay_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); extern void relay_buffer_open (); -#endif /* WEECHAT_RELAY_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_RELAY_BUFFER_H */ diff --git a/src/plugins/relay/relay-client.h b/src/plugins/relay/relay-client.h index 4634d7c7a..d64b80e1b 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_CLIENT_H -#define WEECHAT_RELAY_CLIENT_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_CLIENT_H +#define WEECHAT_PLUGIN_RELAY_CLIENT_H #include <time.h> @@ -153,4 +153,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_PLUGIN_RELAY_CLIENT_H */ diff --git a/src/plugins/relay/relay-command.h b/src/plugins/relay/relay-command.h index c8f617e51..1f3ac8001 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_COMMAND_H -#define WEECHAT_RELAY_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_COMMAND_H +#define WEECHAT_PLUGIN_RELAY_COMMAND_H extern void relay_command_init (); -#endif /* WEECHAT_RELAY_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_RELAY_COMMAND_H */ diff --git a/src/plugins/relay/relay-completion.h b/src/plugins/relay/relay-completion.h index cec77e59f..1b4ef695f 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_COMPLETION_H -#define WEECHAT_RELAY_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_COMPLETION_H +#define WEECHAT_PLUGIN_RELAY_COMPLETION_H extern void relay_completion_init (); -#endif /* WEECHAT_RELAY_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_RELAY_COMPLETION_H */ diff --git a/src/plugins/relay/relay-config.h b/src/plugins/relay/relay-config.h index 2bd1c0545..cf1593cbf 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_CONFIG_H -#define WEECHAT_RELAY_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_CONFIG_H +#define WEECHAT_PLUGIN_RELAY_CONFIG_H #include <regex.h> @@ -69,4 +69,4 @@ extern int relay_config_read (); extern int relay_config_write (); extern void relay_config_free (); -#endif /* WEECHAT_RELAY_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_RELAY_CONFIG_H */ diff --git a/src/plugins/relay/relay-info.h b/src/plugins/relay/relay-info.h index 175300bc1..c9dd844c1 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_INFO_H -#define WEECHAT_RELAY_INFO_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_INFO_H +#define WEECHAT_PLUGIN_RELAY_INFO_H extern void relay_info_init (); -#endif /* WEECHAT_RELAY_INFO_H */ +#endif /* WEECHAT_PLUGIN_RELAY_INFO_H */ diff --git a/src/plugins/relay/relay-network.h b/src/plugins/relay/relay-network.h index aaf38df60..fb1d2f38e 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_NETWORK_H -#define WEECHAT_RELAY_NETWORK_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_NETWORK_H +#define WEECHAT_PLUGIN_RELAY_NETWORK_H #ifdef HAVE_GNUTLS #include <gnutls/gnutls.h> @@ -38,4 +38,4 @@ extern void relay_network_set_priority (); extern void relay_network_init (); extern void relay_network_end (); -#endif /* WEECHAT_RELAY_NETWORK_H */ +#endif /* WEECHAT_PLUGIN_RELAY_NETWORK_H */ diff --git a/src/plugins/relay/relay-raw.h b/src/plugins/relay/relay-raw.h index a2727d6c4..f70b51830 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_RAW_H -#define WEECHAT_RELAY_RAW_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_RAW_H +#define WEECHAT_PLUGIN_RELAY_RAW_H #include <time.h> @@ -58,4 +58,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_PLUGIN_RELAY_RAW_H */ diff --git a/src/plugins/relay/relay-server.h b/src/plugins/relay/relay-server.h index 826d0b160..0cf66e7f1 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_SERVER_H -#define WEECHAT_RELAY_SERVER_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_SERVER_H +#define WEECHAT_PLUGIN_RELAY_SERVER_H #include <time.h> @@ -68,4 +68,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_PLUGIN_RELAY_SERVER_H */ diff --git a/src/plugins/relay/relay-upgrade.h b/src/plugins/relay/relay-upgrade.h index 17a375700..641af9f0d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_UPGRADE_H -#define WEECHAT_RELAY_UPGRADE_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_UPGRADE_H +#define WEECHAT_PLUGIN_RELAY_UPGRADE_H #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_PLUGIN_RELAY_UPGRADE_H */ diff --git a/src/plugins/relay/relay-websocket.h b/src/plugins/relay/relay-websocket.h index 2a70ee566..e0b3a77d9 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_WEBSOCKET_H -#define WEECHAT_RELAY_WEBSOCKET_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_WEBSOCKET_H +#define WEECHAT_PLUGIN_RELAY_WEBSOCKET_H #define WEBSOCKET_FRAME_OPCODE_CONTINUATION 0x00 #define WEBSOCKET_FRAME_OPCODE_TEXT 0x01 @@ -43,4 +43,4 @@ extern char *relay_websocket_encode_frame (int opcode, unsigned long long length, unsigned long long *length_frame); -#endif /* WEECHAT_RELAY_WEBSOCKET_H */ +#endif /* WEECHAT_PLUGIN_RELAY_WEBSOCKET_H */ diff --git a/src/plugins/relay/relay.h b/src/plugins/relay/relay.h index 10621016b..c6dc121ca 100644 --- a/src/plugins/relay/relay.h +++ b/src/plugins/relay/relay.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_H -#define WEECHAT_RELAY_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_H +#define WEECHAT_PLUGIN_RELAY_H #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_PLUGIN_RELAY_H */ diff --git a/src/plugins/relay/weechat/relay-weechat-msg.h b/src/plugins/relay/weechat/relay-weechat-msg.h index bb012ebe5..642e17f18 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_WEECHAT_MSG_H -#define WEECHAT_RELAY_WEECHAT_MSG_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_WEECHAT_MSG_H +#define WEECHAT_PLUGIN_RELAY_WEECHAT_MSG_H #include <time.h> @@ -83,4 +83,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_PLUGIN_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 5ed15644b..8bdf5ddf5 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_WEECHAT_NICKLIST_H -#define WEECHAT_RELAY_WEECHAT_NICKLIST_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_WEECHAT_NICKLIST_H +#define WEECHAT_PLUGIN_RELAY_WEECHAT_NICKLIST_H #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_PLUGIN_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 323b68d50..91551bf7f 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_WEECHAT_PROTOCOL_H -#define WEECHAT_RELAY_WEECHAT_PROTOCOL_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_WEECHAT_PROTOCOL_H +#define WEECHAT_PLUGIN_RELAY_WEECHAT_PROTOCOL_H #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 (const void *pointer, extern void relay_weechat_protocol_recv (struct t_relay_client *client, const char *data); -#endif /* WEECHAT_RELAY_WEECHAT_PROTOCOL_H */ +#endif /* WEECHAT_PLUGIN_RELAY_WEECHAT_PROTOCOL_H */ diff --git a/src/plugins/relay/weechat/relay-weechat.h b/src/plugins/relay/weechat/relay-weechat.h index 9a1a7e440..55cc5a191 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RELAY_WEECHAT_H -#define WEECHAT_RELAY_WEECHAT_H 1 +#ifndef WEECHAT_PLUGIN_RELAY_WEECHAT_H +#define WEECHAT_PLUGIN_RELAY_WEECHAT_H 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_PLUGIN_RELAY_WEECHAT_H */ diff --git a/src/plugins/ruby/weechat-ruby-api.h b/src/plugins/ruby/weechat-ruby-api.h index 39e43ee06..104f3f95a 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RUBY_API_H -#define WEECHAT_RUBY_API_H 1 +#ifndef WEECHAT_PLUGIN_RUBY_API_H +#define WEECHAT_PLUGIN_RUBY_API_H extern int weechat_ruby_api_buffer_input_data_cb (const void *pointer, void *data, @@ -30,4 +30,4 @@ extern int weechat_ruby_api_buffer_close_cb (const void *pointer, struct t_gui_buffer *buffer); extern void weechat_ruby_api_init (VALUE ruby_mWeechat); -#endif /* WEECHAT_RUBY_API_H */ +#endif /* WEECHAT_PLUGIN_RUBY_API_H */ diff --git a/src/plugins/ruby/weechat-ruby.h b/src/plugins/ruby/weechat-ruby.h index 3cb8010af..c09353935 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_RUBY_H -#define WEECHAT_RUBY_H 1 +#ifndef WEECHAT_PLUGIN_RUBY_H +#define WEECHAT_PLUGIN_RUBY_H #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_PLUGIN_RUBY_H */ diff --git a/src/plugins/script/script-action.h b/src/plugins/script/script-action.h index 792730cd0..3b8f01acb 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_ACTION_H -#define WEECHAT_SCRIPT_ACTION_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_ACTION_H +#define WEECHAT_PLUGIN_SCRIPT_ACTION_H 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_PLUGIN_SCRIPT_ACTION_H */ diff --git a/src/plugins/script/script-buffer.h b/src/plugins/script/script-buffer.h index b05e9ef10..f40d5b214 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_BUFFER_H -#define WEECHAT_SCRIPT_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_BUFFER_H +#define WEECHAT_PLUGIN_SCRIPT_BUFFER_H #define SCRIPT_BUFFER_NAME "scripts" @@ -50,4 +50,4 @@ extern void script_buffer_set_keys (); extern void script_buffer_set_localvar_filter (); extern void script_buffer_open (); -#endif /* WEECHAT_SCRIPT_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_BUFFER_H */ diff --git a/src/plugins/script/script-command.h b/src/plugins/script/script-command.h index af995b970..85a92afbd 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_COMMAND_H -#define WEECHAT_SCRIPT_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_COMMAND_H +#define WEECHAT_PLUGIN_SCRIPT_COMMAND_H extern void script_command_init (); -#endif /* WEECHAT_SCRIPT_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_COMMAND_H */ diff --git a/src/plugins/script/script-completion.h b/src/plugins/script/script-completion.h index 04d5d32d4..d7564f747 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_COMPLETION_H -#define WEECHAT_SCRIPT_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_COMPLETION_H +#define WEECHAT_PLUGIN_SCRIPT_COMPLETION_H extern void script_completion_init (); -#endif /* WEECHAT_SCRIPT_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_COMPLETION_H */ diff --git a/src/plugins/script/script-config.h b/src/plugins/script/script-config.h index c078271ab..20291dff5 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_CONFIG_H -#define WEECHAT_SCRIPT_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_CONFIG_H +#define WEECHAT_PLUGIN_SCRIPT_CONFIG_H #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_PLUGIN_SCRIPT_CONFIG_H */ diff --git a/src/plugins/script/script-info.h b/src/plugins/script/script-info.h index 675582c2b..491edbd2c 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_INFO_H -#define WEECHAT_SCRIPT_INFO_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_INFO_H +#define WEECHAT_PLUGIN_SCRIPT_INFO_H extern void script_info_init (); -#endif /* WEECHAT_SCRIPT_INFO_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_INFO_H */ diff --git a/src/plugins/script/script-mouse.h b/src/plugins/script/script-mouse.h index dcfb1dea4..c5b616349 100644 --- a/src/plugins/script/script-mouse.h +++ b/src/plugins/script/script-mouse.h @@ -17,10 +17,10 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_MOUSE_H -#define WEECHAT_SCRIPT_MOUSE_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_MOUSE_H +#define WEECHAT_PLUGIN_SCRIPT_MOUSE_H extern int script_mouse_init (); extern void script_mouse_end (); -#endif /* WEECHAT_SCRIPT_MOUSE_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_MOUSE_H */ diff --git a/src/plugins/script/script-repo.h b/src/plugins/script/script-repo.h index 555051020..503ea12cf 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_REPO_H -#define WEECHAT_SCRIPT_REPO_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_REPO_H +#define WEECHAT_PLUGIN_SCRIPT_REPO_H #include <time.h> @@ -88,4 +88,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_PLUGIN_SCRIPT_REPO_H */ diff --git a/src/plugins/script/script.h b/src/plugins/script/script.h index 497aa2142..e8a33f6d3 100644 --- a/src/plugins/script/script.h +++ b/src/plugins/script/script.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_SCRIPT_H -#define WEECHAT_SCRIPT_H 1 +#ifndef WEECHAT_PLUGIN_SCRIPT_H +#define WEECHAT_PLUGIN_SCRIPT_H #define weechat_plugin weechat_script_plugin #define SCRIPT_PLUGIN_NAME "script" @@ -38,4 +38,4 @@ extern char *script_build_download_url (const char *url); extern void script_get_loaded_plugins (); extern void script_get_scripts (); -#endif /* WEECHAT_SCRIPT_H */ +#endif /* WEECHAT_PLUGIN_SCRIPT_H */ diff --git a/src/plugins/tcl/weechat-tcl-api.h b/src/plugins/tcl/weechat-tcl-api.h index 61d4e15f0..a30afdfe8 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TCL_API_H -#define WEECHAT_TCL_API_H 1 +#ifndef WEECHAT_PLUGIN_TCL_API_H +#define WEECHAT_PLUGIN_TCL_API_H extern int weechat_tcl_api_buffer_input_data_cb (const void *pointer, void *data, @@ -30,4 +30,4 @@ extern int weechat_tcl_api_buffer_close_cb (const void *pointer, struct t_gui_buffer *buffer); extern void weechat_tcl_api_init (Tcl_Interp *interp); -#endif /* WEECHAT_TCL_API_H */ +#endif /* WEECHAT_PLUGIN_TCL_API_H */ diff --git a/src/plugins/tcl/weechat-tcl.h b/src/plugins/tcl/weechat-tcl.h index dbf2576c2..011a6dbc0 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TCL_H -#define WEECHAT_TCL_H 1 +#ifndef WEECHAT_PLUGIN_TCL_H +#define WEECHAT_PLUGIN_TCL_H #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_PLUGIN_TCL_H */ diff --git a/src/plugins/trigger/trigger-buffer.h b/src/plugins/trigger/trigger-buffer.h index 0b96797d7..5a3c7495d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_BUFFER_H -#define WEECHAT_TRIGGER_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_BUFFER_H +#define WEECHAT_PLUGIN_TRIGGER_BUFFER_H #define TRIGGER_BUFFER_NAME "monitor" @@ -32,4 +32,4 @@ extern int trigger_buffer_display_trigger (struct t_trigger *trigger, struct t_hashtable *extra_vars); extern void trigger_buffer_end (); -#endif /* WEECHAT_TRIGGER_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_TRIGGER_BUFFER_H */ diff --git a/src/plugins/trigger/trigger-callback.h b/src/plugins/trigger/trigger-callback.h index 0af3c5ab6..e3a562417 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_CALLBACK_H -#define WEECHAT_TRIGGER_CALLBACK_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_CALLBACK_H +#define WEECHAT_PLUGIN_TRIGGER_CALLBACK_H #include <time.h> @@ -118,4 +118,4 @@ extern struct t_hashtable *trigger_callback_focus_cb (const void *pointer, extern void trigger_callback_init (); extern void trigger_callback_end (); -#endif /* WEECHAT_TRIGGER_CALLBACK_H */ +#endif /* WEECHAT_PLUGIN_TRIGGER_CALLBACK_H */ diff --git a/src/plugins/trigger/trigger-command.h b/src/plugins/trigger/trigger-command.h index 4336c9730..d542ddead 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_COMMAND_H -#define WEECHAT_TRIGGER_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_COMMAND_H +#define WEECHAT_PLUGIN_TRIGGER_COMMAND_H extern void trigger_command_init (); -#endif /* WEECHAT_TRIGGER_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_TRIGGER_COMMAND_H */ diff --git a/src/plugins/trigger/trigger-completion.h b/src/plugins/trigger/trigger-completion.h index 5bf596e4e..53c1d104d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_COMPLETION_H -#define WEECHAT_TRIGGER_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_COMPLETION_H +#define WEECHAT_PLUGIN_TRIGGER_COMPLETION_H extern void trigger_completion_init (); -#endif /* WEECHAT_TRIGGER_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_TRIGGER_COMPLETION_H */ diff --git a/src/plugins/trigger/trigger-config.h b/src/plugins/trigger/trigger-config.h index 651cc93f9..31458303b 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_CONFIG_H -#define WEECHAT_TRIGGER_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_CONFIG_H +#define WEECHAT_PLUGIN_TRIGGER_CONFIG_H #define TRIGGER_CONFIG_NAME "trigger" #define TRIGGER_CONFIG_SECTION_TRIGGER "trigger" @@ -49,4 +49,4 @@ extern int trigger_config_read (); extern int trigger_config_write (); extern void trigger_config_free (); -#endif /* WEECHAT_TRIGGER_CONFIG_H */ +#endif /* WEECHAT_PLUGIN_TRIGGER_CONFIG_H */ diff --git a/src/plugins/trigger/trigger.h b/src/plugins/trigger/trigger.h index 0237962a9..daaaa82fd 100644 --- a/src/plugins/trigger/trigger.h +++ b/src/plugins/trigger/trigger.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_TRIGGER_H -#define WEECHAT_TRIGGER_H 1 +#ifndef WEECHAT_PLUGIN_TRIGGER_H +#define WEECHAT_PLUGIN_TRIGGER_H #include <regex.h> @@ -170,4 +170,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_PLUGIN_TRIGGER_H */ diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 05285959b..242d46c5f 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -20,7 +20,7 @@ */ #ifndef WEECHAT_WEECHAT_PLUGIN_H -#define WEECHAT_WEECHAT_PLUGIN_H 1 +#define WEECHAT_WEECHAT_PLUGIN_H #ifdef __cplusplus extern "C" { diff --git a/src/plugins/xfer/xfer-buffer.h b/src/plugins/xfer/xfer-buffer.h index 9d3c8c2cd..8a35511c8 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_BUFFER_H -#define WEECHAT_XFER_BUFFER_H 1 +#ifndef WEECHAT_PLUGIN_XFER_BUFFER_H +#define WEECHAT_PLUGIN_XFER_BUFFER_H #define XFER_BUFFER_NAME "xfer.list" @@ -33,4 +33,4 @@ extern int xfer_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); extern void xfer_buffer_open (); -#endif /* WEECHAT_XFER_BUFFER_H */ +#endif /* WEECHAT_PLUGIN_XFER_BUFFER_H */ diff --git a/src/plugins/xfer/xfer-chat.h b/src/plugins/xfer/xfer-chat.h index a44292624..cb2945530 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_CHAT_H -#define WEECHAT_XFER_CHAT_H 1 +#ifndef WEECHAT_PLUGIN_XFER_CHAT_H +#define WEECHAT_PLUGIN_XFER_CHAT_H extern void xfer_chat_sendf (struct t_xfer *xfer, const char *format, ...); extern int xfer_chat_recv_cb (const void *pointer, void *data, int fd); extern void xfer_chat_open_buffer (struct t_xfer *xfer); -#endif /* WEECHAT_XFER_CHAT_H */ +#endif /* WEECHAT_PLUGIN_XFER_CHAT_H */ diff --git a/src/plugins/xfer/xfer-command.h b/src/plugins/xfer/xfer-command.h index 41a14a215..4f447090d 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_COMMAND_H -#define WEECHAT_XFER_COMMAND_H 1 +#ifndef WEECHAT_PLUGIN_XFER_COMMAND_H +#define WEECHAT_PLUGIN_XFER_COMMAND_H extern void xfer_command_init (); -#endif /* WEECHAT_XFER_COMMAND_H */ +#endif /* WEECHAT_PLUGIN_XFER_COMMAND_H */ diff --git a/src/plugins/xfer/xfer-completion.h b/src/plugins/xfer/xfer-completion.h index 86f8ddbbe..563ae51a0 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_COMPLETION_H -#define WEECHAT_XFER_COMPLETION_H 1 +#ifndef WEECHAT_PLUGIN_XFER_COMPLETION_H +#define WEECHAT_PLUGIN_XFER_COMPLETION_H extern void xfer_completion_init (); -#endif /* WEECHAT_XFER_COMPLETION_H */ +#endif /* WEECHAT_PLUGIN_XFER_COMPLETION_H */ diff --git a/src/plugins/xfer/xfer-config.h b/src/plugins/xfer/xfer-config.h index e6b2c70d2..081d0ea46 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_CONFIG_H -#define WEECHAT_XFER_CONFIG_H 1 +#ifndef WEECHAT_PLUGIN_XFER_CONFIG_H +#define WEECHAT_PLUGIN_XFER_CONFIG_H #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_PLUGIN_XFER_CONFIG_H */ diff --git a/src/plugins/xfer/xfer-dcc.h b/src/plugins/xfer/xfer-dcc.h index 553d3029a..383718511 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_DCC_H -#define WEECHAT_XFER_DCC_H 1 +#ifndef WEECHAT_PLUGIN_XFER_DCC_H +#define WEECHAT_PLUGIN_XFER_DCC_H 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_PLUGIN_XFER_DCC_H */ diff --git a/src/plugins/xfer/xfer-file.h b/src/plugins/xfer/xfer-file.h index 5e6f49fb3..9f8d058de 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_FILE_H -#define WEECHAT_XFER_FILE_H 1 +#ifndef WEECHAT_PLUGIN_XFER_FILE_H +#define WEECHAT_PLUGIN_XFER_FILE_H 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_PLUGIN_XFER_FILE_H */ diff --git a/src/plugins/xfer/xfer-info.h b/src/plugins/xfer/xfer-info.h index a90f47ae2..9fe18c3b7 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_INFO_H -#define WEECHAT_XFER_INFO_H 1 +#ifndef WEECHAT_PLUGIN_XFER_INFO_H +#define WEECHAT_PLUGIN_XFER_INFO_H extern void xfer_info_init (); -#endif /* WEECHAT_XFER_INFO_H */ +#endif /* WEECHAT_PLUGIN_XFER_INFO_H */ diff --git a/src/plugins/xfer/xfer-network.h b/src/plugins/xfer/xfer-network.h index d3275b6aa..01d0f302e 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_NETWORK_H -#define WEECHAT_XFER_NETWORK_H 1 +#ifndef WEECHAT_PLUGIN_XFER_NETWORK_H +#define WEECHAT_PLUGIN_XFER_NETWORK_H 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_PLUGIN_XFER_NETWORK_H */ diff --git a/src/plugins/xfer/xfer-upgrade.h b/src/plugins/xfer/xfer-upgrade.h index 6d37203a9..0c7ce70db 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 <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_UPGRADE_H -#define WEECHAT_XFER_UPGRADE_H 1 +#ifndef WEECHAT_PLUGIN_XFER_UPGRADE_H +#define WEECHAT_PLUGIN_XFER_UPGRADE_H #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_PLUGIN_XFER_UPGRADE_H */ diff --git a/src/plugins/xfer/xfer.h b/src/plugins/xfer/xfer.h index cf5c3147b..c36ff86c3 100644 --- a/src/plugins/xfer/xfer.h +++ b/src/plugins/xfer/xfer.h @@ -17,8 +17,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_XFER_H -#define WEECHAT_XFER_H 1 +#ifndef WEECHAT_PLUGIN_XFER_H +#define WEECHAT_PLUGIN_XFER_H #include <unistd.h> #include <time.h> @@ -208,4 +208,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_PLUGIN_XFER_H */ |