From: Benjamin Otte Date: Tue, 2 Mar 2010 22:51:18 +0000 (+0100) Subject: gdp: Make code safe for -Wredundant-decls X-Git-Tag: 1.19.3~511^2~7020^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e44ef60fadb949990438a08c8635b11f0d7066a;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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