From 6e44ef60fadb949990438a08c8635b11f0d7066a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 2 Mar 2010 23:51:18 +0100 Subject: [PATCH] gdp: Make code safe for -Wredundant-decls Adds that warning to configure.ac Includes a tiny change of the GST_BOILERPLATE_FULL() macro: The get_type() function is no longer declared before being defined. https://bugzilla.gnome.org/show_bug.cgi?id=611692 --- gst/gdp/dp-private.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/gdp/dp-private.h b/gst/gdp/dp-private.h index 18834c2..174a334 100644 --- a/gst/gdp/dp-private.h +++ b/gst/gdp/dp-private.h @@ -44,7 +44,6 @@ G_BEGIN_DECLS #define GST_DP_HEADER_CRC_HEADER(x) GST_READ_UINT16_BE (x + 58) #define GST_DP_HEADER_CRC_PAYLOAD(x) GST_READ_UINT16_BE (x + 60) -void gst_dp_init (void); void gst_dp_dump_byte_array (guint8 *array, guint length); G_END_DECLS -- 2.7.4