From a02797665935a64a16596abdc83b8246aed2fdfc Mon Sep 17 00:00:00 2001 From: Ilya Verbin Date: Thu, 11 Jul 2024 19:12:49 +0300 Subject: [PATCH] driver: make luaL_pushnull() non-static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tarantool will make this method public in: https://github.com/tarantool/tarantool/pull/10208/commits/878c0d04bcf7410f3ca4a02fcc1bf979cc724f29 This patch fixes compilation error: ./mysql/driver.c:53:1: error: static declaration of ‘luaL_pushnull’ follows non-static declaration 53 | luaL_pushnull(struct lua_State *L) | ^~~~~~~~~~~~~ --- mysql/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/driver.c b/mysql/driver.c index 9e1fbf3..05dcde8 100755 --- a/mysql/driver.c +++ b/mysql/driver.c @@ -49,7 +49,7 @@ static int luaL_nil_ref = LUA_REFNIL; * Can be used as replacement of nil in Lua tables. * @param L stack */ -static inline void +void luaL_pushnull(struct lua_State *L) { lua_rawgeti(L, LUA_REGISTRYINDEX, luaL_nil_ref);