From 8b7968f7c4ac8c07cad6a1a0891d38cf239a2839 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 23 Sep 2010 21:28:05 +0200 Subject: Use GCC_FMT_ATTR (format checking) Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- qjson.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qjson.h') diff --git a/qjson.h b/qjson.h index 7eef357354..70d0afba54 100644 --- a/qjson.h +++ b/qjson.h @@ -18,9 +18,9 @@ #include "qobject.h" #include "qstring.h" -QObject *qobject_from_json(const char *string); +QObject *qobject_from_json(const char *string) GCC_FMT_ATTR(1, 0); QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2); -QObject *qobject_from_jsonv(const char *string, va_list *ap); +QObject *qobject_from_jsonv(const char *string, va_list *ap) GCC_FMT_ATTR(1, 0); QString *qobject_to_json(const QObject *obj); -- cgit 1.4.1