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/plugins/xfer | |
parent | c58716809cde8697469f7a88f1b8d6a01bd62d13 (diff) | |
download | weechat-9bad3f44dbf88104a1ecc61d40dca17f15a209d6.zip |
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r-- | src/plugins/xfer/xfer-buffer.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-chat.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-command.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-completion.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-config.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-dcc.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-file.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-info.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-network.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer-upgrade.h | 6 | ||||
-rw-r--r-- | src/plugins/xfer/xfer.h | 6 |
11 files changed, 33 insertions, 33 deletions
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 */ |