From: Alessandro Decina Date: Mon, 4 Nov 2013 10:34:38 +0000 (+0100) Subject: discoverer: fix build after last commit X-Git-Tag: 1.19.3~511^2~4933 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08bac91ae1524fa2568809509a4ecb955187d777;p=platform%2Fupstream%2Fgstreamer.git discoverer: fix build after last commit Add a forward declaration for my_g_string_append_printf that specifies G_GNUC_PRINTF. Turn off indent on it as it drives gst-indent crazy. --- diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c index 5d4329d..059d3d7 100644 --- a/tools/gst-discoverer.c +++ b/tools/gst-discoverer.c @@ -26,6 +26,10 @@ #include #include +/* *INDENT-OFF* */ +static void my_g_string_append_printf (GString * str, int depth, const gchar * format, ...) G_GNUC_PRINTF (3, 4); +/* *INDENT-ON* */ + static gboolean async = FALSE; static gboolean show_toc = FALSE; static gboolean verbose = FALSE; @@ -39,7 +43,6 @@ typedef struct static void my_g_string_append_printf (GString * str, int depth, const gchar * format, ...) -G_GNUC_PRINTF (3, 4) { va_list args;