diff --git a/luaa.c b/luaa.c index d0d451863..5a602d1ff 100644 --- a/luaa.c +++ b/luaa.c @@ -133,7 +133,7 @@ luaAe_next(lua_State *L) * \param idx The index number of elements in stack. * \return 1 if more elements to come, 0 otherwise. */ -int +static int luaA_next(lua_State *L, int idx) { if(luaL_getmetafield(L, idx, "__next")) diff --git a/luaa.h b/luaa.h index 78e229ce4..146595130 100644 --- a/luaa.h +++ b/luaa.h @@ -189,7 +189,6 @@ void luaA_init(xdgHandle *); bool luaA_parserc(xdgHandle *, const char *, bool); bool luaA_hasitem(lua_State *, const void *); void luaA_table2wtable(lua_State *); -int luaA_next(lua_State *, int); bool luaA_isloop(lua_State *, int); /** Global signals */