aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udp.c b/src/udp.c
index cc04fc8..13007fb 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -45,7 +45,7 @@ static int meth_setfd(lua_State *L);
45static int meth_dirty(lua_State *L); 45static int meth_dirty(lua_State *L);
46 46
47/* udp object methods */ 47/* udp object methods */
48static luaL_reg udp_methods[] = { 48static luaL_Reg udp_methods[] = {
49 {"__gc", meth_close}, 49 {"__gc", meth_close},
50 {"__tostring", auxiliar_tostring}, 50 {"__tostring", auxiliar_tostring},
51 {"close", meth_close}, 51 {"close", meth_close},
@@ -89,7 +89,7 @@ static t_opt optget[] = {
89}; 89};
90 90
91/* functions in library namespace */ 91/* functions in library namespace */
92static luaL_reg func[] = { 92static luaL_Reg func[] = {
93 {"udp", global_create}, 93 {"udp", global_create},
94 {"udp6", global_create6}, 94 {"udp6", global_create6},
95 {NULL, NULL} 95 {NULL, NULL}