diff options
Diffstat (limited to 'src/unix.c')
-rw-r--r-- | src/unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |