From 022c619c6384da2a0c4eca054bdd028f051e51d8 Mon Sep 17 00:00:00 2001 From: Bruce Date: Sun, 21 Jul 2024 07:45:21 +0800 Subject: [PATCH] Avoid different function declarations when build as windows DLL (#1959) --- 3rd/lua/lauxlib.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/3rd/lua/lauxlib.c b/3rd/lua/lauxlib.c index 9c7b3ab5..5cb446f2 100644 --- a/3rd/lua/lauxlib.c +++ b/3rd/lua/lauxlib.c @@ -1234,9 +1234,6 @@ init(lua_State *L) { CC.L = newState(L); } - -void luaL_initcodecache(void); - LUALIB_API void luaL_initcodecache(void) { SPIN_INIT(&CC); @@ -1380,8 +1377,6 @@ cache_clear(lua_State *L) { return 0; } -int luaopen_cache(lua_State *L); - LUAMOD_API int luaopen_cache(lua_State *L) { luaL_Reg l[] = { { "clear", cache_clear },