projects
/
oweals
/
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 85c12662190df0093fc16e47f472108795aaea03..9f2a6e933f546e53e0f8efa05c8b52e809e01130 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)