projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42cd90b
)
add declarations for lua{open,close}_uloop to avoid warnings
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Oct 2012 18:03:33 +0000
(20:03 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 22 Oct 2012 18:03:36 +0000
(20:03 +0200)
lua/uloop.c
patch
|
blob
|
history
diff --git
a/lua/uloop.c
b/lua/uloop.c
index 900e14061c54ed9387deeb2aa02c2c86ecf4ccc8..51f53c210f9786f604978c3e830bc74ee4790cee 100644
(file)
--- a/
lua/uloop.c
+++ b/
lua/uloop.c
@@
-226,6
+226,10
@@
static luaL_reg uloop_func[] = {
{NULL, NULL},
};
+/* avoid warnings about missing declarations */
+int luaopen_uloop(lua_State *L);
+int luaclose_uloop(lua_State *L);
+
int luaopen_uloop(lua_State *L)
{
state = L;