From: Rainer Jung Date: Wed, 1 Feb 2012 09:50:14 +0000 (+0000) Subject: luaL_reg was already deprecated in Lua 5.1.4. X-Git-Tag: 2.5.0-alpha~7517 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0257e2db855032e0b6049e48112ca4c367ee850;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/lua/lua_apr.c b/modules/lua/lua_apr.c index ad396e66f5d..c93ea9b1e1f 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}