diff options
author | Diego Nehab <diego@impa.br> | 2013-05-30 16:20:34 +0800 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2013-05-30 16:20:34 +0800 |
commit | a233e27865d96566a6cb13960d08605ce34d9f0d (patch) | |
tree | 6ef3219bec0c29bbb14ce92b5c2f4dc46b42dbc6 /src/serial.c | |
parent | 5341131cd07bf4f66ce242980b5f3cfbbf45ea12 (diff) | |
download | luasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.tar.gz luasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.tar.bz2 luasocket-a233e27865d96566a6cb13960d08605ce34d9f0d.zip |
Leaving if in src/ but out of build for now.
Diffstat (limited to 'src/serial.c')
-rw-r--r-- | src/serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serial.c b/src/serial.c index 66e8da6..583d4e5 100644 --- a/src/serial.c +++ b/src/serial.c | |||
@@ -73,6 +73,7 @@ LUASOCKET_API int luaopen_socket_serial(lua_State *L) { | |||
73 | auxiliar_add2group(L, "serial{client}", "serial{any}"); | 73 | auxiliar_add2group(L, "serial{client}", "serial{any}"); |
74 | #if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE) | 74 | #if LUA_VERSION_NUM > 501 && !defined(LUA_COMPAT_MODULE) |
75 | lua_pushcfunction(L, global_create); | 75 | lua_pushcfunction(L, global_create); |
76 | (void) func; | ||
76 | #else | 77 | #else |
77 | /* set function into socket namespace */ | 78 | /* set function into socket namespace */ |
78 | luaL_openlib(L, "socket", func, 0); | 79 | luaL_openlib(L, "socket", func, 0); |