about summary refs log tree commit diff stats
path: root/src/luasec/context.h
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-11-22 19:25:05 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-11-22 19:25:05 -0800
commit1bf2504a8b4221da49b6c2aaf042d7ca8af43731 (patch)
tree11bdb1736ffb5654638a7828ea32abce418f644c /src/luasec/context.h
parent76329c0206ede0a986da423e6a813ef91334f6cd (diff)
downloadteliva-1bf2504a8b4221da49b6c2aaf042d7ca8af43731.tar.gz
clean up a warning and a bit of duplication
Now we have 2 probably-valid warnings caused by my edits, and 1
false-positive.
Diffstat (limited to 'src/luasec/context.h')
-rw-r--r--src/luasec/context.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/luasec/context.h b/src/luasec/context.h
index 21202cb..b51cd44 100644
--- a/src/luasec/context.h
+++ b/src/luasec/context.h
@@ -39,9 +39,6 @@ int lsec_getmode(lua_State *L, int idx);
 /* Registre the module. */
 LSEC_API int luaopen_ssl_context(lua_State *L);
 
-/* Compat - Lua 5.1 */
-#if (LUA_VERSION_NUM == 501)
-void *lsec_testudata (lua_State *L, int ud, const char *tname);
-#endif
+void *luasocket_testudata ( lua_State *L, int arg, const char *tname);
 
 #endif