projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lua: add a prototype for luaopen_ubus so that -Wmissing-declarations can be enabled
[project/ubus.git]
/
lua
/
ubus.c
diff --git
a/lua/ubus.c
b/lua/ubus.c
index
85c1266
..
9f2a6e9
100644
(file)
--- a/
lua/ubus.c
+++ b/
lua/ubus.c
@@
-373,6
+373,8
@@
static const luaL_Reg ubus[] = {
{ NULL, NULL },
};
+/* avoid missing prototype warning */
+int luaopen_ubus(lua_State *L);
int
luaopen_ubus(lua_State *L)