projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61b8a9
)
Lua plugin: make function array const
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 13:10:04 +0000
(15:10 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 13:10:04 +0000
(15:10 +0200)
src/lua.c
patch
|
blob
|
history
diff --git
a/src/lua.c
b/src/lua.c
index
3b8b3da
..
ee177d7
100644
(file)
--- a/
src/lua.c
+++ b/
src/lua.c
@@
-362,7
+362,7
@@
static int lua_cb_register_write(lua_State *L) /* {{{ */
return 0;
} /* }}} int lua_cb_register_write */
-static luaL_Reg collectdlib[] = {
+static
const
luaL_Reg collectdlib[] = {
{"log_debug", lua_cb_log_debug},
{"log_error", lua_cb_log_error},
{"log_info", lua_cb_log_info},