From 2a73f6dd9d29198b23674a68f8fc5d958e1a26a1 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 9 Nov 2009 20:27:56 +0100 Subject: [PATCH] luaa: luaA_next is static Signed-off-by: Julien Danjou --- luaa.c | 2 +- luaa.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/luaa.c b/luaa.c index d0d45186..5a602d1f 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 78e229ce..14659513 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 */