ports/databases/redis70/files/extra-patch-deps_lua_src_lua__cjson.c
Yasuhiro Kimura cc25511077 databases/redis70: Copy from databases/redis
Copy databases/redis to databases/redis70 as preparation for updating
the former to 7.2.
2023-08-17 12:29:02 +09:00

11 lines
425 B
C

--- deps/lua/src/lua_cjson.c.orig 2019-12-08 12:56:31 UTC
+++ deps/lua/src/lua_cjson.c
@@ -1299,7 +1299,7 @@
*
* luaL_setfuncs() is used to create a module table where the functions have
* json_config_t as their first upvalue. Code borrowed from Lua 5.2 source. */
-static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
+void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
{
int i;