From f61ceee70822259725a335ccaaa323416296a6c1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 2 Apr 2014 13:44:42 -0300 Subject: LUAI_FUNC is being used only in header files --- lcode.c | 4 ++-- lgc.c | 4 ++-- lstring.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lcode.c b/lcode.c index a36e2376..52ef2615 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 2.85 2014/03/21 13:52:33 roberto Exp roberto $ +** $Id: lcode.c,v 2.86 2014/04/01 14:39:55 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -195,7 +195,7 @@ void luaK_patchlist (FuncState *fs, int list, int target) { } -LUAI_FUNC void luaK_patchclose (FuncState *fs, int list, int level) { +void luaK_patchclose (FuncState *fs, int list, int level) { level++; /* argument is +1 to reserve 0 as non-op */ while (list != NO_JUMP) { int next = getjump(fs, list); diff --git a/lgc.c b/lgc.c index 348781c0..680c0ac2 100644 --- a/lgc.c +++ b/lgc.c @@ -1,5 +1,5 @@ /* -** $Id: lgc.c,v 2.179 2014/03/21 13:52:33 roberto Exp roberto $ +** $Id: lgc.c,v 2.180 2014/04/01 14:06:59 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -172,7 +172,7 @@ void luaC_barrierback_ (lua_State *L, GCObject *o) { ** closures pointing to it. So, we assume that the object being assigned ** must be marked. */ -LUAI_FUNC void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) { +void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) { global_State *g = G(L); GCObject *o = gcvalue(uv->v); lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */ diff --git a/lstring.c b/lstring.c index 32448ebf..f666ebf9 100644 --- a/lstring.c +++ b/lstring.c @@ -1,5 +1,5 @@ /* -** $Id: lstring.c,v 2.37 2014/02/19 13:51:09 roberto Exp roberto $ +** $Id: lstring.c,v 2.38 2014/03/19 18:51:42 roberto Exp roberto $ ** String table (keeps all strings handled by Lua) ** See Copyright Notice in lua.h */ @@ -102,7 +102,7 @@ static TString *createstrobj (lua_State *L, const char *str, size_t l, } -LUAI_FUNC void luaS_remove (lua_State *L, TString *ts) { +void luaS_remove (lua_State *L, TString *ts) { stringtable *tb = &G(L)->strt; TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)]; while (*p != ts) /* find previous element */ -- cgit v1.2.3-55-g6feb