summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/socket.c')
-rw-r--r--libs/luci-lib-nixio/src/socket.c4
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 17c6afc79..b4b052eaa 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},