diff options
author | E. Westbrook <github@westbrook.io> | 2019-02-27 21:01:25 -0700 |
---|---|---|
committer | E. Westbrook <github@westbrook.io> | 2019-03-10 00:04:20 -0700 |
commit | d71e6bc459ecb21f0cffc874c29176b762ecbd93 (patch) | |
tree | 7876ffc5b8146e9564bacbb1368932c129e2edce /src/udp.h | |
parent | 42a1a732b79fa6153c61da645b786da883bbd0b5 (diff) | |
download | luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.tar.gz luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.tar.bz2 luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.zip |
udp: pragma visibility
Diffstat (limited to '')
-rw-r--r-- | src/udp.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,7 @@ | |||
12 | * with a call to the setpeername function. The same function can be used to | 12 | * with a call to the setpeername function. The same function can be used to |
13 | * break the connection. | 13 | * break the connection. |
14 | \*=========================================================================*/ | 14 | \*=========================================================================*/ |
15 | #include "lua.h" | 15 | #include "luasocket.h" |
16 | 16 | ||
17 | #include "timeout.h" | 17 | #include "timeout.h" |
18 | #include "socket.h" | 18 | #include "socket.h" |
@@ -26,6 +26,10 @@ typedef struct t_udp_ { | |||
26 | } t_udp; | 26 | } t_udp; |
27 | typedef t_udp *p_udp; | 27 | typedef t_udp *p_udp; |
28 | 28 | ||
29 | #pragma GCC visibility push(hidden) | ||
30 | |||
29 | int udp_open(lua_State *L); | 31 | int udp_open(lua_State *L); |
30 | 32 | ||
33 | #pragma GCC visibility pop | ||
34 | |||
31 | #endif /* UDP_H */ | 35 | #endif /* UDP_H */ |