diff options
Diffstat (limited to 'src/unix.c')
-rw-r--r-- | src/unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ static const char *unix_tryconnect(p_unix un, const char *path); | |||
39 | static const char *unix_trybind(p_unix un, const char *path); | 39 | static const char *unix_trybind(p_unix un, const char *path); |
40 | 40 | ||
41 | /* unix object methods */ | 41 | /* unix object methods */ |
42 | static luaL_reg un[] = { | 42 | static luaL_Reg un[] = { |
43 | {"__gc", meth_close}, | 43 | {"__gc", meth_close}, |
44 | {"__tostring", auxiliar_tostring}, | 44 | {"__tostring", auxiliar_tostring}, |
45 | {"accept", meth_accept}, | 45 | {"accept", meth_accept}, |
@@ -71,7 +71,7 @@ static t_opt optset[] = { | |||
71 | }; | 71 | }; |
72 | 72 | ||
73 | /* our socket creation function */ | 73 | /* our socket creation function */ |
74 | static luaL_reg func[] = { | 74 | static luaL_Reg func[] = { |
75 | {"unix", global_create}, | 75 | {"unix", global_create}, |
76 | {NULL, NULL} | 76 | {NULL, NULL} |
77 | }; | 77 | }; |