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.h | |
parent | 1fa10673f717a08f9ef51ff9357adf7b8458f9a5 (diff) | |
download | luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.tar.gz luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.tar.bz2 luasocket-86e1b3f45f57358d6b2a6666043df9a4a2f963c5.zip |
tcp: pragma visibility
Diffstat (limited to '')
-rw-r--r-- | src/tcp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,7 @@ | |||
14 | * tcp objects either connected to some address or returned by the accept | 14 | * tcp objects either connected to some address or returned by the accept |
15 | * method of a server object. | 15 | * method of a server object. |
16 | \*=========================================================================*/ | 16 | \*=========================================================================*/ |
17 | #include "lua.h" | 17 | #include "luasocket.h" |
18 | 18 | ||
19 | #include "buffer.h" | 19 | #include "buffer.h" |
20 | #include "timeout.h" | 20 | #include "timeout.h" |
@@ -30,6 +30,10 @@ typedef struct t_tcp_ { | |||
30 | 30 | ||
31 | typedef t_tcp *p_tcp; | 31 | typedef t_tcp *p_tcp; |
32 | 32 | ||
33 | #pragma GCC visibility push(hidden) | ||
34 | |||
33 | int tcp_open(lua_State *L); | 35 | int tcp_open(lua_State *L); |
34 | 36 | ||
37 | #pragma GCC visibility pop | ||
38 | |||
35 | #endif /* TCP_H */ | 39 | #endif /* TCP_H */ |