aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 83bffc9..73a1146 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -141,10 +141,11 @@ int tm_gettime(void)
141/*-------------------------------------------------------------------------*\ 141/*-------------------------------------------------------------------------*\
142* Initializes module 142* Initializes module
143\*-------------------------------------------------------------------------*/ 143\*-------------------------------------------------------------------------*/
144void tm_open(lua_State *L) 144int tm_open(lua_State *L)
145{ 145{
146 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); 146 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0);
147 lua_pop(L, 1); 147 lua_pop(L, 1);
148 return 0;
148} 149}
149 150
150/*-------------------------------------------------------------------------*\ 151/*-------------------------------------------------------------------------*\