1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

core: remove value for first #define in headers, add "PLUGIN" in plugin headers

This commit is contained in:
Sébastien Helleu
2017-08-10 20:05:16 +02:00
parent c58716809c
commit 9bad3f44db
176 changed files with 430 additions and 430 deletions
+3 -3
View File
@@ -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 */
+3 -3
View File
@@ -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 */
+3 -3
View File
@@ -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 */
+3 -3
View File
@@ -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 */
+3 -3
View File
@@ -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 */