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.c | |
parent | 42a1a732b79fa6153c61da645b786da883bbd0b5 (diff) | |
download | luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.tar.gz luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.tar.bz2 luasocket-d71e6bc459ecb21f0cffc874c29176b762ecbd93.zip |
udp: pragma visibility
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -4,10 +4,6 @@ | |||
4 | \*=========================================================================*/ | 4 | \*=========================================================================*/ |
5 | #include "luasocket.h" | 5 | #include "luasocket.h" |
6 | 6 | ||
7 | #include "lua.h" | ||
8 | #include "lauxlib.h" | ||
9 | #include "compat.h" | ||
10 | |||
11 | #include "auxiliar.h" | 7 | #include "auxiliar.h" |
12 | #include "socket.h" | 8 | #include "socket.h" |
13 | #include "inet.h" | 9 | #include "inet.h" |
@@ -124,7 +120,7 @@ static luaL_Reg func[] = { | |||
124 | /*-------------------------------------------------------------------------*\ | 120 | /*-------------------------------------------------------------------------*\ |
125 | * Initializes module | 121 | * Initializes module |
126 | \*-------------------------------------------------------------------------*/ | 122 | \*-------------------------------------------------------------------------*/ |
127 | LUASOCKET_PRIVATE int udp_open(lua_State *L) { | 123 | int udp_open(lua_State *L) { |
128 | /* create classes */ | 124 | /* create classes */ |
129 | auxiliar_newclass(L, "udp{connected}", udp_methods); | 125 | auxiliar_newclass(L, "udp{connected}", udp_methods); |
130 | auxiliar_newclass(L, "udp{unconnected}", udp_methods); | 126 | auxiliar_newclass(L, "udp{unconnected}", udp_methods); |