summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-03-28 11:57:06 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-03-28 11:57:06 +0300
commit82dd32fa8a99596243f07971c97343878c5ef674 (patch)
tree95d3597a521b49c8e69a1478b67a4350ac85901f
parent0f696bdb32bdac3fb69afe608222b05132eb7576 (diff)
downloadaccel-ppp-82dd32fa8a99596243f07971c97343878c5ef674.tar.gz
accel-ppp-82dd32fa8a99596243f07971c97343878c5ef674.zip
Revert "ipoe: fix lua 5.3 support"
This reverts commit b72efa378b32980f2114bcb8081fafbd93096aa0.
-rw-r--r--accel-pppd/ctrl/ipoe/lua.c2
-rw-r--r--accel-pppd/ctrl/ipoe/lua_lpack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ctrl/ipoe/lua.c b/accel-pppd/ctrl/ipoe/lua.c
index da3594b3..f0785066 100644
--- a/accel-pppd/ctrl/ipoe/lua.c
+++ b/accel-pppd/ctrl/ipoe/lua.c
@@ -36,7 +36,7 @@ static int packet4_vlan(lua_State *L);
int luaopen_lpack(lua_State *L);
-static const struct luaL_Reg packet4_lib [] = {
+static const struct luaL_reg packet4_lib [] = {
{"hdr", packet4_hdr},
{"ifname", packet4_ifname},
{"option", packet4_option},
diff --git a/accel-pppd/ctrl/ipoe/lua_lpack.c b/accel-pppd/ctrl/ipoe/lua_lpack.c
index 74e7384f..feb0a5a8 100644
--- a/accel-pppd/ctrl/ipoe/lua_lpack.c
+++ b/accel-pppd/ctrl/ipoe/lua_lpack.c
@@ -252,7 +252,7 @@ static int l_pack(lua_State *L) /** pack(f,...) */
return 1;
}
-static const luaL_Reg R[] =
+static const luaL_reg R[] =
{
{"pack", l_pack},
{"unpack", l_unpack},