aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-09-23 21:28:05 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-03 06:34:51 +0000
commit8b7968f7c4ac8c07cad6a1a0891d38cf239a2839 (patch)
tree4a061bb5e911a88f914c106afd2a8c9ba9127835 /qerror.h
parente5924d8980e0bd027f2f12fa702ec1c555538230 (diff)
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qerror.h b/qerror.h
index f2984dd106..943a24b4e5 100644
--- a/qerror.h
+++ b/qerror.h
@@ -34,7 +34,7 @@ typedef struct QError {
QError *qerror_new(void);
QError *qerror_from_info(const char *file, int linenr, const char *func,
- const char *fmt, va_list *va);
+ const char *fmt, va_list *va) GCC_FMT_ATTR(4, 0);
QString *qerror_human(const QError *qerror);
void qerror_print(QError *qerror);
void qerror_report_internal(const char *file, int linenr, const char *func,