aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-02 13:44:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-04-02 13:44:42 -0300
commitf61ceee70822259725a335ccaaa323416296a6c1 (patch)
tree7b6249b61077a7578111545084eda4b36171abc0 /lstring.c
parent5aeb57f11f2499050907d2ce1d27f66006e226c4 (diff)
downloadlua-f61ceee70822259725a335ccaaa323416296a6c1.tar.gz
lua-f61ceee70822259725a335ccaaa323416296a6c1.tar.bz2
lua-f61ceee70822259725a335ccaaa323416296a6c1.zip
LUAI_FUNC is being used only in header files
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.c b/lstring.c
index 32448ebf..f666ebf9 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 2.37 2014/02/19 13:51:09 roberto Exp roberto $ 2** $Id: lstring.c,v 2.38 2014/03/19 18:51:42 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -102,7 +102,7 @@ static TString *createstrobj (lua_State *L, const char *str, size_t l,
102} 102}
103 103
104 104
105LUAI_FUNC void luaS_remove (lua_State *L, TString *ts) { 105void luaS_remove (lua_State *L, TString *ts) {
106 stringtable *tb = &G(L)->strt; 106 stringtable *tb = &G(L)->strt;
107 TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)]; 107 TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)];
108 while (*p != ts) /* find previous element */ 108 while (*p != ts) /* find previous element */