From d0257e2db855032e0b6049e48112ca4c367ee850 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Wed, 1 Feb 2012 09:50:14 +0000 Subject: [PATCH] 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 --- modules/lua/lua_apr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.50.1