aboutsummaryrefslogtreecommitdiff
path: root/src/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix.c')
-rw-r--r--src/unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unix.c b/src/unix.c
index 6962517..b08d325 100644
--- a/src/unix.c
+++ b/src/unix.c
@@ -39,7 +39,7 @@ static const char *unix_tryconnect(p_unix un, const char *path);
39static const char *unix_trybind(p_unix un, const char *path); 39static const char *unix_trybind(p_unix un, const char *path);
40 40
41/* unix object methods */ 41/* unix object methods */
42static luaL_reg un[] = { 42static 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 */
74static luaL_reg func[] = { 74static luaL_Reg func[] = {
75 {"unix", global_create}, 75 {"unix", global_create},
76 {NULL, NULL} 76 {NULL, NULL}
77}; 77};