diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-10 20:05:16 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-08-10 20:05:16 +0200 |
commit | 9bad3f44dbf88104a1ecc61d40dca17f15a209d6 (patch) | |
tree | 7f23f022fb9de453c22730f2315160728fc9362c /src/plugins/lua | |
parent | c58716809cde8697469f7a88f1b8d6a01bd62d13 (diff) | |
download | weechat-9bad3f44dbf88104a1ecc61d40dca17f15a209d6.zip |
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
Diffstat (limited to 'src/plugins/lua')
-rw-r--r-- | src/plugins/lua/weechat-lua-api.h | 6 | ||||
-rw-r--r-- | src/plugins/lua/weechat-lua.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/lua/weechat-lua-api.h b/src/plugins/lua/weechat-lua-api.h index c6401bcda..15e88251b 100644 --- a/src/plugins/lua/weechat-lua-api.h +++ b/src/plugins/lua/weechat-lua-api.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LUA_API_H -#define WEECHAT_LUA_API_H 1 +#ifndef WEECHAT_PLUGIN_LUA_API_H +#define WEECHAT_PLUGIN_LUA_API_H extern struct luaL_Reg weechat_lua_api_funcs[]; extern struct t_lua_const weechat_lua_api_consts[]; @@ -32,4 +32,4 @@ extern int weechat_lua_api_buffer_close_cb (const void *pointer, void *data, struct t_gui_buffer *buffer); -#endif /* WEECHAT_LUA_API_H */ +#endif /* WEECHAT_PLUGIN_LUA_API_H */ diff --git a/src/plugins/lua/weechat-lua.h b/src/plugins/lua/weechat-lua.h index 7a3f73cda..24dcce20e 100644 --- a/src/plugins/lua/weechat-lua.h +++ b/src/plugins/lua/weechat-lua.h @@ -18,8 +18,8 @@ * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef WEECHAT_LUA_H -#define WEECHAT_LUA_H 1 +#ifndef WEECHAT_PLUGIN_LUA_H +#define WEECHAT_PLUGIN_LUA_H #define weechat_plugin weechat_lua_plugin #define LUA_PLUGIN_NAME "lua" @@ -58,4 +58,4 @@ extern void weechat_lua_register_lib(lua_State *L, const char *libname, const luaL_Reg *lua_api_funcs, struct t_lua_const lua_api_consts[]); -#endif /* WEECHAT_LUA_H */ +#endif /* WEECHAT_PLUGIN_LUA_H */ |