diff options
author | Henrique Dante de Almeida <hdante@gmail.com> | 2013-01-13 14:05:14 -0200 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-01-13 12:15:24 -0500 |
commit | 28bd57d6c80d6a0056ef64c5d238c2ad53586997 (patch) | |
tree | 383d36eebbec6c8ed4ed87da76f5cf63728fa6bd /gio/gdbusdaemon.c | |
parent | de001225c39a4c4f5773b88b9805456f60d11374 (diff) | |
download | glib-wip/format-errors.tar.gz |
Add G_GNUC_PRINTF on all functions with format stringswip/format-errors
This allows compilation with clang wihtout 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
Diffstat (limited to 'gio/gdbusdaemon.c')
-rw-r--r-- | gio/gdbusdaemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gdbusdaemon.c b/gio/gdbusdaemon.c index 35a724c37..23937710c 100644 --- a/gio/gdbusdaemon.c +++ b/gio/gdbusdaemon.c @@ -1346,6 +1346,7 @@ handle_start_service_by_name (_GFreedesktopDBus *object, return TRUE; } +G_GNUC_PRINTF(5, 6) static void return_error (Client *client, GDBusMessage *message, GQuark domain, |