aboutsummaryrefslogtreecommitdiff
path: root/src/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix.c')
-rw-r--r--src/unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix.c b/src/unix.c
index 5710c27..91aaaf8 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -91,6 +91,7 @@ int luaopen_socket_unix(lua_State *L) {
91 auxiliar_add2group(L, "unix{server}", "unix{any}"); 91 auxiliar_add2group(L, "unix{server}", "unix{any}");
92#if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE) 92#if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE)
93 lua_pushcfunction(L, global_create); 93 lua_pushcfunction(L, global_create);
94 (void) func;
94#else 95#else
95 /* set function into socket namespace */ 96 /* set function into socket namespace */
96 luaL_openlib(L, "socket", func, 0); 97 luaL_openlib(L, "socket", func, 0);