aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luasocket.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/luasocket.c b/src/luasocket.c
index e6ee747..bce63a7 100644
--- a/src/luasocket.c
+++ b/src/luasocket.c
@@ -78,14 +78,6 @@ static int global_unload(lua_State *L) {
78 return 0; 78 return 0;
79} 79}
80 80
81#if LUA_VERSION_NUM > 501
82int luaL_typerror (lua_State *L, int narg, const char *tname) {
83 const char *msg = lua_pushfstring(L, "%s expected, got %s",
84 tname, luaL_typename(L, narg));
85 return luaL_argerror(L, narg, msg);
86}
87#endif
88
89/*-------------------------------------------------------------------------*\ 81/*-------------------------------------------------------------------------*\
90* Setup basic stuff. 82* Setup basic stuff.
91\*-------------------------------------------------------------------------*/ 83\*-------------------------------------------------------------------------*/