summaryrefslogtreecommitdiffstats
path: root/modules/lua/lua_apr.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2012-02-01 10:50:14 +0100
committerRainer Jung <rjung@apache.org>2012-02-01 10:50:14 +0100
commitd0257e2db855032e0b6049e48112ca4c367ee850 (patch)
treecbba245de01d195282df0c764ad58cfef11871f5 /modules/lua/lua_apr.c
parentMinor fixes for firehose and mod_policy: (diff)
downloadapache2-d0257e2db855032e0b6049e48112ca4c367ee850.tar.xz
apache2-d0257e2db855032e0b6049e48112ca4c367ee850.zip
luaL_reg was already deprecated in Lua 5.1.4.
It is gone in Lua 5.2.0 and was replaced by luaL_Reg which already existed in 5.1.4. So use that one.. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239029 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/lua/lua_apr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/lua_apr.c b/modules/lua/lua_apr.c
index ad396e66f5..c93ea9b1e1 100644
--- a/modules/lua/lua_apr.c
+++ b/modules/lua/lua_apr.c
@@ -65,7 +65,7 @@ static int lua_table_get(lua_State *L)
return 1;
}
-static const luaL_reg lua_table_methods[] = {
+static const luaL_Reg lua_table_methods[] = {
{"set", lua_table_set},
{"get", lua_table_get},
{0, 0}