summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88001af)
raw | patch | inline | side by side (parent: 88001af)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 17:32:37 +0000 (19:32 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sun, 14 Aug 2016 17:32:37 +0000 (19:32 +0200) |
lua.c: In function ‘module_register’:
lua.c:588:6: warning: old-style function definition
[-Wold-style-definition]
void module_register() {
^~~~~~~~~~~~~~~
lua.c:588:6: warning: old-style function definition
[-Wold-style-definition]
void module_register() {
^~~~~~~~~~~~~~~
src/lua.c | patch | blob | history |
diff --git a/src/lua.c b/src/lua.c
index ee177d73a3139c9df5f72a736753992a1d63837e..ba5fbceac593a53ed33977fbf87e650284c883b0 100644 (file)
--- a/src/lua.c
+++ b/src/lua.c
return (0);
} /* }}} int lua_shutdown */
-void module_register() {
+void module_register(void) {
plugin_register_complex_config("lua", lua_config);
plugin_register_shutdown("lua", lua_shutdown);
}