luaa: luaA_next is static

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-11-09 20:27:56 +01:00
parent 4daa5af04c
commit 2a73f6dd9d
2 changed files with 1 additions and 2 deletions

2
luaa.c
View File

@ -133,7 +133,7 @@ luaAe_next(lua_State *L)
* \param idx The index number of elements in stack. * \param idx The index number of elements in stack.
* \return 1 if more elements to come, 0 otherwise. * \return 1 if more elements to come, 0 otherwise.
*/ */
int static int
luaA_next(lua_State *L, int idx) luaA_next(lua_State *L, int idx)
{ {
if(luaL_getmetafield(L, idx, "__next")) if(luaL_getmetafield(L, idx, "__next"))

1
luaa.h
View File

@ -189,7 +189,6 @@ void luaA_init(xdgHandle *);
bool luaA_parserc(xdgHandle *, const char *, bool); bool luaA_parserc(xdgHandle *, const char *, bool);
bool luaA_hasitem(lua_State *, const void *); bool luaA_hasitem(lua_State *, const void *);
void luaA_table2wtable(lua_State *); void luaA_table2wtable(lua_State *);
int luaA_next(lua_State *, int);
bool luaA_isloop(lua_State *, int); bool luaA_isloop(lua_State *, int);
/** Global signals */ /** Global signals */