Browse Source

Squashed warning for lua+sqlite code path

Sergey Lyubka 12 years ago
parent
commit
d53902844c
1 changed files with 1 additions and 1 deletions
  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);
   luaL_openlibs(L);
 #ifdef USE_LUA_SQLITE3
 #ifdef USE_LUA_SQLITE3
-  luaopen_lsqlite3(L);
+  { extern int luaopen_lsqlite3(lua_State *); luaopen_lsqlite3(L); }
 #endif
 #endif
 
 
   // Register "print" function which calls mg_write()
   // Register "print" function which calls mg_write()