Add G_GNUC_PRINTF on all functions with format strings
authorHenrique Dante de Almeida <hdante@gmail.com>
Sun, 13 Jan 2013 16:05:14 +0000 (14:05 -0200)
committerColin Walters <walters@verbum.org>
Sun, 13 Jan 2013 17:32:40 +0000 (12:32 -0500)
commitc219181cb20a57988ed8426be2a5da8acf6aa07c
tree2c0c8989a0094c2de4ec85a52d7be5e7363bf671
parent120834db5b1cc735530d2452440ffd8a3b6e48f7
Add G_GNUC_PRINTF on all functions with format strings

This allows compilation with clang without errors, even when
-Wformat-nonliteral is active (as long as there are no real cases of
non literal formatting).

https://bugzilla.gnome.org/show_bug.cgi?id=691608
21 files changed:
gio/gdbusauth.c
gio/gdbusauthmechanismsha1.c
gio/gdbusdaemon.c
gio/gdbuserror.h
gio/gdbusmessage.c
gio/gdbusmethodinvocation.h
gio/gsimpleasyncresult.h
gio/gtask.h
glib/gerror.c
glib/gerror.h
glib/gmarkup.c
glib/gmarkup.h
glib/gmessages.h
glib/gprintf.h
glib/gstrfuncs.h
glib/gstring.h
glib/gutils.h
glib/gvariant-parser.c
glib/tests/markup-escape.c
glib/tests/string.c
glib/tests/test-printf.c