diff options
Diffstat (limited to 'src/timeout.c')
-rw-r--r-- | src/timeout.c | 3 |
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 | \*-------------------------------------------------------------------------*/ |
144 | void tm_open(lua_State *L) | 144 | int 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 | /*-------------------------------------------------------------------------*\ |