aboutsummaryrefslogtreecommitdiff
path: root/qjson.h
diff options
context:
space:
mode:
Diffstat (limited to 'qjson.h')
-rw-r--r--qjson.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qjson.h b/qjson.h
index 7afec2eec1..7eef357354 100644
--- a/qjson.h
+++ b/qjson.h
@@ -19,8 +19,7 @@
#include "qstring.h"
QObject *qobject_from_json(const char *string);
-QObject *qobject_from_jsonf(const char *string, ...)
- __attribute__((__format__ (__printf__, 1, 2)));
+QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2);
QObject *qobject_from_jsonv(const char *string, va_list *ap);
QString *qobject_to_json(const QObject *obj);