aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-04-10 09:17:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2007-04-10 09:17:52 -0300
commit585b81f91eeff445f77de7276b23c8b8df22e8c5 (patch)
treeb4f9b6319d97837c0c50219ecf8c4752fdd03cbe
parent5f4f0d4a6371e950a9606ab16780a8933017e54b (diff)
downloadlua-585b81f91eeff445f77de7276b23c8b8df22e8c5.tar.gz
lua-585b81f91eeff445f77de7276b23c8b8df22e8c5.tar.bz2
lua-585b81f91eeff445f77de7276b23c8b8df22e8c5.zip
remove of a non-used test function
-rw-r--r--ltests.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ltests.c b/ltests.c
index c2d88d2e..cbafa686 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.39 2006/09/11 14:07:24 roberto Exp roberto $ 2** $Id: ltests.c,v 2.40 2006/10/10 17:40:17 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -777,11 +777,6 @@ static int doremote (lua_State *L) {
777} 777}
778 778
779 779
780static int log2_aux (lua_State *L) {
781 lua_pushinteger(L, luaO_log2(luaL_checkint(L, 1)));
782 return 1;
783}
784
785static int int2fb_aux (lua_State *L) { 780static int int2fb_aux (lua_State *L) {
786 int b = luaO_int2fb(luaL_checkint(L, 1)); 781 int b = luaO_int2fb(luaL_checkint(L, 1));
787 lua_pushinteger(L, b); 782 lua_pushinteger(L, b);
@@ -1110,7 +1105,6 @@ static const struct luaL_Reg tests_funcs[] = {
1110 {"listk", listk}, 1105 {"listk", listk},
1111 {"listlocals", listlocals}, 1106 {"listlocals", listlocals},
1112 {"loadlib", loadlib}, 1107 {"loadlib", loadlib},
1113 {"log2", log2_aux},
1114 {"newstate", newstate}, 1108 {"newstate", newstate},
1115 {"newuserdata", newuserdata}, 1109 {"newuserdata", newuserdata},
1116 {"num2int", num2int}, 1110 {"num2int", num2int},