diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-19 10:39:13 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-19 10:39:13 +0100 |
commit | 9b380a935b9fe07daf7e1e1f0ad12a41519bb10c (patch) | |
tree | e51f291fdb9b80d4f2d39abaacb8705e5c987e9c /src/plugins/python | |
parent | bc96d2f1ec4bcba58aab03042a9266842a42cfcb (diff) | |
download | weechat-9b380a935b9fe07daf7e1e1f0ad12a41519bb10c.zip |
core: fix use of reserved C identifiers in headers (closes #31)
Diffstat (limited to 'src/plugins/python')
-rw-r--r-- | src/plugins/python/weechat-python-api.h | 6 | ||||
-rw-r--r-- | src/plugins/python/weechat-python.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/python/weechat-python-api.h b/src/plugins/python/weechat-python-api.h index b965dd021..761d96afd 100644 --- a/src/plugins/python/weechat-python-api.h +++ b/src/plugins/python/weechat-python-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __WEECHAT_PYTHON_API_H -#define __WEECHAT_PYTHON_API_H 1 +#ifndef WEECHAT_PYTHON_API_H +#define WEECHAT_PYTHON_API_H 1 extern PyMethodDef weechat_python_funcs[]; @@ -29,4 +29,4 @@ extern int weechat_python_api_buffer_input_data_cb (void *data, extern int weechat_python_api_buffer_close_cb (void *data, struct t_gui_buffer *buffer); -#endif /* __WEECHAT_PYTHON_API_H */ +#endif /* WEECHAT_PYTHON_API_H */ diff --git a/src/plugins/python/weechat-python.h b/src/plugins/python/weechat-python.h index b2b849629..73c8105ca 100644 --- a/src/plugins/python/weechat-python.h +++ b/src/plugins/python/weechat-python.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __WEECHAT_PYTHON_H -#define __WEECHAT_PYTHON_H 1 +#ifndef WEECHAT_PYTHON_H +#define WEECHAT_PYTHON_H 1 #define weechat_plugin weechat_python_plugin #define PYTHON_PLUGIN_NAME "python" @@ -53,4 +53,4 @@ extern void *weechat_python_exec (struct t_plugin_script *script, int ret_type, const char *function, char *format, void **argv); -#endif /* __WEECHAT_PYTHON_H */ +#endif /* WEECHAT_PYTHON_H */ |