summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-nixio/src/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luci-lib-nixio/src/user.c')
-rw-r--r--libs/luci-lib-nixio/src/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/luci-lib-nixio/src/user.c b/libs/luci-lib-nixio/src/user.c
index b701bac955..b4f5ea1d53 100644
--- a/libs/luci-lib-nixio/src/user.c
+++ b/libs/luci-lib-nixio/src/user.c
@@ -238,7 +238,7 @@ static int nixio_crypt(lua_State *L) {
/* module table */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
{"crypt", nixio_crypt},
{"getgr", nixio_getgr},
{"getpw", nixio_getpw},
@@ -252,7 +252,7 @@ static const luaL_reg R[] = {
#else /* __WINNT__ */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
{NULL, NULL}
};