diff options
author | E. Westbrook <github@westbrook.io> | 2019-02-27 21:01:06 -0700 |
---|---|---|
committer | E. Westbrook <github@westbrook.io> | 2019-03-10 00:04:20 -0700 |
commit | 86e1b3f45f57358d6b2a6666043df9a4a2f963c5 (patch) | |
tree | 3dd0619fa3ac49a5f87ff2c51a18045febc7da5e /src/tcp.c | |
parent | 1fa10673f717a08f9ef51ff9357adf7b8458f9a5 (diff) | |
download | luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.tar.gz luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.tar.bz2 luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.zip |
tcp: pragma visibility
Diffstat (limited to 'src/tcp.c')
-rw-r--r-- | src/tcp.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -4,12 +4,7 @@ | |||
4 | \*=========================================================================*/ | 4 | \*=========================================================================*/ |
5 | #include "luasocket.h" | 5 | #include "luasocket.h" |
6 | 6 | ||
7 | #include "lua.h" | ||
8 | #include "lauxlib.h" | ||
9 | |||
10 | #include "compat.h" | ||
11 | #include "auxiliar.h" | 7 | #include "auxiliar.h" |
12 | |||
13 | #include "socket.h" | 8 | #include "socket.h" |
14 | #include "inet.h" | 9 | #include "inet.h" |
15 | #include "options.h" | 10 | #include "options.h" |
@@ -129,7 +124,7 @@ static luaL_Reg func[] = { | |||
129 | /*-------------------------------------------------------------------------*\ | 124 | /*-------------------------------------------------------------------------*\ |
130 | * Initializes module | 125 | * Initializes module |
131 | \*-------------------------------------------------------------------------*/ | 126 | \*-------------------------------------------------------------------------*/ |
132 | LUASOCKET_PRIVATE int tcp_open(lua_State *L) | 127 | int tcp_open(lua_State *L) |
133 | { | 128 | { |
134 | /* create classes */ | 129 | /* create classes */ |
135 | auxiliar_newclass(L, "tcp{master}", tcp_methods); | 130 | auxiliar_newclass(L, "tcp{master}", tcp_methods); |