projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95062c1
)
lua: add a prototype for luaopen_ubus so that -Wmissing-declarations can be enabled
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 28 May 2012 22:41:27 +0000
(
00:41
+0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 28 May 2012 22:41:27 +0000
(
00:41
+0200)
lua/ubus.c
patch
|
blob
|
history
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 },
};
{ NULL, NULL },
};
+/* avoid missing prototype warning */
+int luaopen_ubus(lua_State *L);
int
luaopen_ubus(lua_State *L)
int
luaopen_ubus(lua_State *L)