diff options
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/select.c b/src/select.c index b615b19..bb47c45 100644 --- a/src/select.c +++ b/src/select.c | |||
@@ -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 "socket.h" | 7 | #include "socket.h" |
12 | #include "timeout.h" | 8 | #include "timeout.h" |
13 | #include "select.h" | 9 | #include "select.h" |
@@ -33,13 +29,10 @@ static luaL_Reg func[] = { | |||
33 | {NULL, NULL} | 29 | {NULL, NULL} |
34 | }; | 30 | }; |
35 | 31 | ||
36 | /*=========================================================================*\ | ||
37 | * Exported functions | ||
38 | \*=========================================================================*/ | ||
39 | /*-------------------------------------------------------------------------*\ | 32 | /*-------------------------------------------------------------------------*\ |
40 | * Initializes module | 33 | * Initializes module |
41 | \*-------------------------------------------------------------------------*/ | 34 | \*-------------------------------------------------------------------------*/ |
42 | LUASOCKET_PRIVATE int select_open(lua_State *L) { | 35 | int select_open(lua_State *L) { |
43 | lua_pushstring(L, "_SETSIZE"); | 36 | lua_pushstring(L, "_SETSIZE"); |
44 | lua_pushinteger(L, FD_SETSIZE); | 37 | lua_pushinteger(L, FD_SETSIZE); |
45 | lua_rawset(L, -3); | 38 | lua_rawset(L, -3); |
@@ -219,4 +212,3 @@ static void make_assoc(lua_State *L, int tab) { | |||
219 | i = i+1; | 212 | i = i+1; |
220 | } | 213 | } |
221 | } | 214 | } |
222 | |||