add declarations for lua{open,close}_uloop to avoid warnings
[project/libubox.git] / lua / uloop.c
index 900e14061c54ed9387deeb2aa02c2c86ecf4ccc8..51f53c210f9786f604978c3e830bc74ee4790cee 100644 (file)
@@ -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;