Lua plugin: fix old style definition
[collectd.git] / src / lua.c
index ee177d7..ba5fbce 100644 (file)
--- 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);
 }