浏览代码

Squashed warning for lua+sqlite code path

Sergey Lyubka 12 年之前
父节点
当前提交
d53902844c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mongoose.c

+ 1 - 1
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()