summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-08-10 20:05:16 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-08-10 20:05:16 +0200
commit9bad3f44dbf88104a1ecc61d40dca17f15a209d6 (patch)
tree7f23f022fb9de453c22730f2315160728fc9362c /src/plugins/trigger
parentc58716809cde8697469f7a88f1b8d6a01bd62d13 (diff)
downloadweechat-9bad3f44dbf88104a1ecc61d40dca17f15a209d6.zip
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger-buffer.h6
-rw-r--r--src/plugins/trigger/trigger-callback.h6
-rw-r--r--src/plugins/trigger/trigger-command.h6
-rw-r--r--src/plugins/trigger/trigger-completion.h6
-rw-r--r--src/plugins/trigger/trigger-config.h6
-rw-r--r--src/plugins/trigger/trigger.h6
6 files changed, 18 insertions, 18 deletions
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 */