From e35c68e1999cab48e8b912f7e90b535d1afe9353 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 14 Aug 2016 19:32:37 +0200 Subject: [PATCH] Lua plugin: fix old style definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit lua.c: In function ‘module_register’: lua.c:588:6: warning: old-style function definition [-Wold-style-definition] void module_register() { ^~~~~~~~~~~~~~~ --- src/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua.c b/src/lua.c index ee177d73..ba5fbcea 100644 --- a/src/lua.c +++ b/src/lua.c @@ -585,7 +585,7 @@ static int lua_shutdown(void) /* {{{ */ 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); } -- 2.30.2