mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
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.
This commit is contained in:
parent
d9c39b9fe0
commit
08bac91ae1
1 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,10 @@
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/pbutils/pbutils.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 async = FALSE;
|
||||||
static gboolean show_toc = FALSE;
|
static gboolean show_toc = FALSE;
|
||||||
static gboolean verbose = FALSE;
|
static gboolean verbose = FALSE;
|
||||||
|
@ -39,7 +43,6 @@ typedef struct
|
||||||
|
|
||||||
static void
|
static void
|
||||||
my_g_string_append_printf (GString * str, int depth, const gchar * format, ...)
|
my_g_string_append_printf (GString * str, int depth, const gchar * format, ...)
|
||||||
G_GNUC_PRINTF (3, 4)
|
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue