summaryrefslogtreecommitdiff
path: root/src/plugins/perl
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/perl
parentbc96d2f1ec4bcba58aab03042a9266842a42cfcb (diff)
downloadweechat-9b380a935b9fe07daf7e1e1f0ad12a41519bb10c.zip
core: fix use of reserved C identifiers in headers (closes #31)
Diffstat (limited to 'src/plugins/perl')
-rw-r--r--src/plugins/perl/weechat-perl-api.h6
-rw-r--r--src/plugins/perl/weechat-perl.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/perl/weechat-perl-api.h b/src/plugins/perl/weechat-perl-api.h
index 36734a921..76f8f8d2c 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_PERL_API_H
+#define WEECHAT_PERL_API_H 1
extern int weechat_perl_api_buffer_input_data_cb (void *data,
struct t_gui_buffer *buffer,
@@ -27,4 +27,4 @@ extern int weechat_perl_api_buffer_close_cb (void *data,
struct t_gui_buffer *buffer);
extern void weechat_perl_api_init (pTHX);
-#endif /* __WEECHAT_PERL_API_H */
+#endif /* WEECHAT_PERL_API_H */
diff --git a/src/plugins/perl/weechat-perl.h b/src/plugins/perl/weechat-perl.h
index 09f320c98..60d923101 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_PERL_H
+#define WEECHAT_PERL_H 1
#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_PERL_H */