add declarations for lua{open,close}_uloop to avoid warnings
This commit is contained in:
parent
42cd90bf4b
commit
db38b74ac6
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue