summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/bind.c')
-rw-r--r--libs/luci-lib-nixio/src/bind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/luci-lib-nixio/src/bind.c b/libs/luci-lib-nixio/src/bind.c
index 68e1df8a8..664d3e063 100644
--- a/libs/luci-lib-nixio/src/bind.c
+++ b/libs/luci-lib-nixio/src/bind.c
@@ -269,14 +269,14 @@ static int nixio_sock_accept(lua_State *L) {
}
/* module table */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
{"bind", nixio_bind},
{"connect", nixio_connect},
{NULL, NULL}
};
/* object table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
{"bind", nixio_sock_bind},
{"connect", nixio_sock_connect},
{"listen", nixio_sock_listen},