From 08bac91ae1524fa2568809509a4ecb955187d777 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 4 Nov 2013 11:34:38 +0100 Subject: [PATCH] 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. --- tools/gst-discoverer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.7.4