aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.c
diff options
context:
space:
mode:
authorLiam Devine <dmail00@gmail.com>2011-07-04 23:31:14 +0100
committerSam Roberts <vieuxtech@gmail.com>2012-04-11 13:33:34 -0700
commite15ed19db6eb3385c1b35219c2dfa11953c3d47e (patch)
tree4e38a0b05ac7cbaaa449f2b32dc959409ceae9ea /src/luasocket.c
parenta984607f28d0a802acaf1a16da225234af769baa (diff)
downloadluasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.tar.gz
luasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.tar.bz2
luasocket-e15ed19db6eb3385c1b35219c2dfa11953c3d47e.zip
Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs sorting out to take maybe a version number and also the local paths need removing.
Diffstat (limited to 'src/luasocket.c')
-rw-r--r--src/luasocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luasocket.c b/src/luasocket.c
index 3b29e8e..b43114e 100644
--- a/src/luasocket.c
+++ b/src/luasocket.c
@@ -45,7 +45,7 @@ static int base_open(lua_State *L);
45/*-------------------------------------------------------------------------*\ 45/*-------------------------------------------------------------------------*\
46* Modules and functions 46* Modules and functions
47\*-------------------------------------------------------------------------*/ 47\*-------------------------------------------------------------------------*/
48static const luaL_reg mod[] = { 48static const luaL_Reg mod[] = {
49 {"auxiliar", auxiliar_open}, 49 {"auxiliar", auxiliar_open},
50 {"except", except_open}, 50 {"except", except_open},
51 {"timeout", timeout_open}, 51 {"timeout", timeout_open},
@@ -57,7 +57,7 @@ static const luaL_reg mod[] = {
57 {NULL, NULL} 57 {NULL, NULL}
58}; 58};
59 59
60static luaL_reg func[] = { 60static luaL_Reg func[] = {
61 {"skip", global_skip}, 61 {"skip", global_skip},
62 {"__unload", global_unload}, 62 {"__unload", global_unload},
63 {NULL, NULL} 63 {NULL, NULL}