summaryrefslogtreecommitdiff
path: root/src/plugins/exec
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-19 10:39:13 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-19 10:39:13 +0100
commit9b380a935b9fe07daf7e1e1f0ad12a41519bb10c (patch)
treee51f291fdb9b80d4f2d39abaacb8705e5c987e9c /src/plugins/exec
parentbc96d2f1ec4bcba58aab03042a9266842a42cfcb (diff)
downloadweechat-9b380a935b9fe07daf7e1e1f0ad12a41519bb10c.zip
core: fix use of reserved C identifiers in headers (closes #31)
Diffstat (limited to 'src/plugins/exec')
-rw-r--r--src/plugins/exec/exec-buffer.h6
-rw-r--r--src/plugins/exec/exec-command.h6
-rw-r--r--src/plugins/exec/exec-completion.h6
-rw-r--r--src/plugins/exec/exec-config.h6
-rw-r--r--src/plugins/exec/exec.h6
5 files changed, 15 insertions, 15 deletions
diff --git a/src/plugins/exec/exec-buffer.h b/src/plugins/exec/exec-buffer.h
index 42e519888..041c73720 100644
--- a/src/plugins/exec/exec-buffer.h
+++ b/src/plugins/exec/exec-buffer.h
@@ -17,11 +17,11 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __WEECHAT_EXEC_BUFFER_H
-#define __WEECHAT_EXEC_BUFFER_H 1
+#ifndef WEECHAT_EXEC_BUFFER_H
+#define WEECHAT_EXEC_BUFFER_H 1
extern void exec_buffer_set_callbacks ();
extern struct t_gui_buffer *exec_buffer_new (const char *name,
int switch_to_buffer);
-#endif /* __WEECHAT_EXEC_BUFFER_H */
+#endif /* WEECHAT_EXEC_BUFFER_H */
diff --git a/src/plugins/exec/exec-command.h b/src/plugins/exec/exec-command.h
index 373dff44b..0e8e323f9 100644
--- a/src/plugins/exec/exec-command.h
+++ b/src/plugins/exec/exec-command.h
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __WEECHAT_EXEC_COMMAND_H
-#define __WEECHAT_EXEC_COMMAND_H 1
+#ifndef WEECHAT_EXEC_COMMAND_H
+#define WEECHAT_EXEC_COMMAND_H 1
struct t_exec_cmd_options
{
@@ -45,4 +45,4 @@ extern int exec_command_run (struct t_gui_buffer *buffer,
int start_arg);
extern void exec_command_init ();
-#endif /* __WEECHAT_EXEC_COMMAND_H */
+#endif /* WEECHAT_EXEC_COMMAND_H */
diff --git a/src/plugins/exec/exec-completion.h b/src/plugins/exec/exec-completion.h
index a01bb03cf..373ce8b61 100644
--- a/src/plugins/exec/exec-completion.h
+++ b/src/plugins/exec/exec-completion.h
@@ -17,9 +17,9 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __WEECHAT_EXEC_COMPLETION_H
-#define __WEECHAT_EXEC_COMPLETION_H 1
+#ifndef WEECHAT_EXEC_COMPLETION_H
+#define WEECHAT_EXEC_COMPLETION_H 1
extern void exec_completion_init ();
-#endif /* __WEECHAT_EXEC_COMPLETION_H */
+#endif /* WEECHAT_EXEC_COMPLETION_H */
diff --git a/src/plugins/exec/exec-config.h b/src/plugins/exec/exec-config.h
index 9963fd092..90e89a8dd 100644
--- a/src/plugins/exec/exec-config.h
+++ b/src/plugins/exec/exec-config.h
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __WEECHAT_EXEC_CONFIG_H
-#define __WEECHAT_EXEC_CONFIG_H 1
+#ifndef WEECHAT_EXEC_CONFIG_H
+#define WEECHAT_EXEC_CONFIG_H 1
#define EXEC_CONFIG_NAME "exec"
#define EXEC_CONFIG_SECTION_EXEC "exec"
@@ -39,4 +39,4 @@ extern int exec_config_read ();
extern int exec_config_write ();
extern void exec_config_free ();
-#endif /* __WEECHAT_EXEC_CONFIG_H */
+#endif /* WEECHAT_EXEC_CONFIG_H */
diff --git a/src/plugins/exec/exec.h b/src/plugins/exec/exec.h
index 5e3bdd616..3cb50d56d 100644
--- a/src/plugins/exec/exec.h
+++ b/src/plugins/exec/exec.h
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __WEECHAT_EXEC_H
-#define __WEECHAT_EXEC_H 1
+#ifndef WEECHAT_EXEC_H
+#define WEECHAT_EXEC_H 1
#include <time.h>
@@ -83,4 +83,4 @@ extern int exec_process_cb (void *data, const char *command, int return_code,
extern void exec_free (struct t_exec_cmd *exec_cmd);
extern void exec_free_all ();
-#endif /* __WEECHAT_EXEC_H */
+#endif /* WEECHAT_EXEC_H */