diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/output.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/output.h b/src/output.h index 11737c6..e4ee278 100644 --- a/src/output.h +++ b/src/output.h @@ -19,8 +19,11 @@ #ifndef DB_OUTPUT_H_ #define DB_OUTPUT_H_ -void db_dbg(const char *fmt, ...); -void db_warn(const char *fmt, ...); -void db_err(const char *fmt, ...); +void db_dbg(const char *fmt, ...) + __attribute__((__format__(__printf__, 1, 2))); +void db_warn(const char *fmt, ...) + __attribute__((__format__(__printf__, 1, 2))); +void db_err(const char *fmt, ...) + __attribute__((__format__(__printf__, 1, 2))); #endif /* DB_OUTPUT_H_ */ |