diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-22 22:03:33 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-22 22:03:36 +0400 |
commit | db38b74ac60edf213f0de1a5e6e0d5ab027b4cae (patch) | |
tree | b34f929acc36689563d31911e02a2f656bc4acc2 /lua | |
parent | 42cd90bf4b63a591a1ef9e0b6a569b66d461edfb (diff) |
add declarations for lua{open,close}_uloop to avoid warnings
Diffstat (limited to 'lua')
-rw-r--r-- | lua/uloop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/uloop.c b/lua/uloop.c index 900e140..51f53c2 100644 --- 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; |