summaryrefslogtreecommitdiff
path: root/girepository
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2013-04-21 18:56:19 +0200
committerChristian Persch <chpe@gnome.org>2013-05-05 22:56:21 +0200
commit97072bb47148abc7ab94217a13e82f4281344875 (patch)
treec74c61b8d8f528c35632690700e346369970e201 /girepository
parentb5a8082396540037351f0c96c1403f6c470d0e5c (diff)
downloadgobject-introspection-97072bb47148abc7ab94217a13e82f4281344875.tar.gz
Add printf attribute
This fixes a compiler warning when using -Wmissing-format-attribute. https://bugzilla.gnome.org/show_bug.cgi?id=698521
Diffstat (limited to 'girepository')
-rw-r--r--girepository/gdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/girepository/gdump.c b/girepository/gdump.c
index 7e02d391..88942f3a 100644
--- a/girepository/gdump.c
+++ b/girepository/gdump.c
@@ -38,6 +38,9 @@
#include <string.h>
static void
+escaped_printf (GOutputStream *out, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
+
+static void
escaped_printf (GOutputStream *out, const char *fmt, ...)
{
char *str;