From 55efc6e90e1f18ae335ccf67b07964efbc6012d6 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 21 Apr 2013 18:56:19 +0200 Subject: [PATCH] Add printf attribute This fixes a compiler warning when using -Wmissing-format-attribute. https://bugzilla.gnome.org/show_bug.cgi?id=698521 --- gdump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdump.c b/gdump.c index 7e02d391f..88942f3aa 100644 --- a/gdump.c +++ b/gdump.c @@ -37,6 +37,9 @@ #include +static void +escaped_printf (GOutputStream *out, const char *fmt, ...) G_GNUC_PRINTF (2, 3); + static void escaped_printf (GOutputStream *out, const char *fmt, ...) {