projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88001af
)
Lua plugin: fix old style definition
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() {
^~~~~~~~~~~~~~~
src/lua.c
patch
|
blob
|
history
diff --git
a/src/lua.c
b/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);
}