projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Lua plugin: make function array const
[collectd.git]
/
src
/
lua.c
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},