diff options
Diffstat (limited to 'src')
| -rwxr-xr-x | src/luasocket.c | 10 | ||||
| -rw-r--r-- | src/luasocket.h | 13 |
2 files changed, 4 insertions, 19 deletions
diff --git a/src/luasocket.c b/src/luasocket.c index d2752a7..0fd99f7 100755 --- a/src/luasocket.c +++ b/src/luasocket.c | |||
| @@ -12,16 +12,6 @@ | |||
| 12 | * standard Lua read and write functions. | 12 | * standard Lua read and write functions. |
| 13 | \*=========================================================================*/ | 13 | \*=========================================================================*/ |
| 14 | 14 | ||
| 15 | /*=========================================================================*\ | ||
| 16 | * Standard include files | ||
| 17 | \*=========================================================================*/ | ||
| 18 | #include "lua.h" | ||
| 19 | #include "lauxlib.h" | ||
| 20 | #include "compat.h" | ||
| 21 | |||
| 22 | /*=========================================================================*\ | ||
| 23 | * LuaSocket includes | ||
| 24 | \*=========================================================================*/ | ||
| 25 | #include "luasocket.h" | 15 | #include "luasocket.h" |
| 26 | #include "auxiliar.h" | 16 | #include "auxiliar.h" |
| 27 | #include "except.h" | 17 | #include "except.h" |
diff --git a/src/luasocket.h b/src/luasocket.h index 0121a15..d22b1be 100644 --- a/src/luasocket.h +++ b/src/luasocket.h | |||
| @@ -6,9 +6,8 @@ | |||
| 6 | * Diego Nehab | 6 | * Diego Nehab |
| 7 | * 9/11/1999 | 7 | * 9/11/1999 |
| 8 | \*=========================================================================*/ | 8 | \*=========================================================================*/ |
| 9 | #include "lua.h" | ||
| 10 | 9 | ||
| 11 | /*-------------------------------------------------------------------------*\ | 10 | /*-------------------------------------------------------------------------* \ |
| 12 | * Current socket library version | 11 | * Current socket library version |
| 13 | \*-------------------------------------------------------------------------*/ | 12 | \*-------------------------------------------------------------------------*/ |
| 14 | #define LUASOCKET_VERSION "LuaSocket 3.0-rc1" | 13 | #define LUASOCKET_VERSION "LuaSocket 3.0-rc1" |
| @@ -25,13 +24,9 @@ | |||
| 25 | #endif | 24 | #endif |
| 26 | #endif | 25 | #endif |
| 27 | 26 | ||
| 28 | #ifndef LUASOCKET_PRIVATE | 27 | #include "lua.h" |
| 29 | #ifdef _WIN32 | 28 | #include "lauxlib.h" |
| 30 | #define LUASOCKET_PRIVATE | 29 | #include "compat.h" |
| 31 | #else | ||
| 32 | #define LUASOCKET_PRIVATE __attribute__ ((visibility ("hidden"))) | ||
| 33 | #endif | ||
| 34 | #endif | ||
| 35 | 30 | ||
| 36 | /*-------------------------------------------------------------------------*\ | 31 | /*-------------------------------------------------------------------------*\ |
| 37 | * Initializes the library. | 32 | * Initializes the library. |
