Skip to content

Commit 154fa91

Browse files
GumixDifferentialOrange
authored andcommitted
driver: make luaL_pushnull() non-static
Tarantool will make this method public in: tarantool/tarantool@878c0d0 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) | ^~~~~~~~~~~~~
1 parent aeb915d commit 154fa91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/driver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static int luaL_nil_ref = LUA_REFNIL;
4949
* Can be used as replacement of nil in Lua tables.
5050
* @param L stack
5151
*/
52-
static inline void
52+
void
5353
luaL_pushnull(struct lua_State *L)
5454
{
5555
lua_rawgeti(L, LUA_REGISTRYINDEX, luaL_nil_ref);

0 commit comments

Comments
 (0)