From d53902844cf574e351caa8558a7029d3e07a54ea Mon Sep 17 00:00:00 2001 From: Sergey Lyubka <valenok@gmail.com> Date: Mon, 4 Feb 2013 22:14:42 +0000 Subject: [PATCH] Squashed warning for lua+sqlite code path --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 86aaf4a79..b92dec744 100644 --- a/mongoose.c +++ b/mongoose.c @@ -3981,7 +3981,7 @@ static void prepare_lua_environment(struct mg_connection *conn, lua_State *L) { luaL_openlibs(L); #ifdef USE_LUA_SQLITE3 - luaopen_lsqlite3(L); + { extern int luaopen_lsqlite3(lua_State *); luaopen_lsqlite3(L); } #endif // Register "print" function which calls mg_write() -- GitLab