Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lua/uloop.c')
-rw-r--r--lua/uloop.c4
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;