discoverer: fix build after last commit
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 4 Nov 2013 10:34:38 +0000 (11:34 +0100)
committerAlessandro Decina <alessandro.d@gmail.com>
Mon, 4 Nov 2013 10:35:55 +0000 (11:35 +0100)
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

index 5d4329d..059d3d7 100644 (file)
 #include <gst/gst.h>
 #include <gst/pbutils/pbutils.h>
 
+/* *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;