add declarations for lua{open,close}_uloop to avoid warnings

This commit is contained in:
Felix Fietkau 2012-10-22 20:03:33 +02:00
parent 42cd90bf4b
commit db38b74ac6

View file

@ -226,6 +226,10 @@ static luaL_reg uloop_func[] = {
{NULL, NULL}, {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) int luaopen_uloop(lua_State *L)
{ {
state = L; state = L;