]> jfr.im git - irc/quakenet/newserv.git/blobdiff - sqlite/sqlite.h
Most if not all vsnprintf using functions now are declared using the format __attribu...
[irc/quakenet/newserv.git] / sqlite / sqlite.h
index f5e438b3bc66f0fb37313f8bf37145ca8e743210..3c1b139448850292f7e70e688e49e46ca03603d6 100644 (file)
@@ -16,7 +16,7 @@ typedef SQLiteResult SQLiteConn;
 typedef int SQLiteModuleIdentifier;
 typedef void (*SQLiteQueryHandler)(SQLiteConn *, void *);
 
-void sqliteasyncqueryf(SQLiteModuleIdentifier identifier, SQLiteQueryHandler handler, void *tag, int flags, char *format, ...);
+void sqliteasyncqueryf(SQLiteModuleIdentifier identifier, SQLiteQueryHandler handler, void *tag, int flags, char *format, ...) __attribute__ ((format (printf, 5, 6)));
 
 int sqliteconnected(void);