diff options
Diffstat (limited to 'libs/luci-lib-nixio/src/socket.c')
-rw-r--r-- | libs/luci-lib-nixio/src/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/luci-lib-nixio/src/socket.c b/libs/luci-lib-nixio/src/socket.c index 17c6afc790..b4b052eaa0 100644 --- a/libs/luci-lib-nixio/src/socket.c +++ b/libs/luci-lib-nixio/src/socket.c @@ -150,13 +150,13 @@ static int nixio_sock_shutdown(lua_State *L) { } /* module table */ -static const luaL_reg R[] = { +static const luaL_Reg R[] = { {"socket", nixio_socket}, {NULL, NULL} }; /* object table */ -static const luaL_reg M[] = { +static const luaL_Reg M[] = { {"close", nixio_sock_close}, {"shutdown", nixio_sock_shutdown}, {"__gc", nixio_sock__gc}, |