webrtc: Remove duplicate declarations
authorMaciej Wolny <maciej.wolny@codethink.co.uk>
Tue, 20 Nov 2018 10:37:47 +0000 (10:37 +0000)
committerMaciej Wolny <maciej.wolny@codethink.co.uk>
Wed, 28 Nov 2018 12:24:37 +0000 (12:24 +0000)
This causes 'redefinition of typedef ...' errors on GCC 4.5.3

gst-libs/gst/webrtc/rtpreceiver.h

index 82a541c..99ef629 100644 (file)
@@ -35,9 +35,6 @@ GType gst_webrtc_rtp_receiver_get_type(void);
 #define GST_IS_WEBRTC_RTP_RECEIVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass) ,GST_TYPE_WEBRTC_RTP_RECEIVER))
 #define GST_WEBRTC_RTP_RECEIVER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj) ,GST_TYPE_WEBRTC_RTP_RECEIVER,GstWebRTCRTPReceiverClass))
 
-typedef struct _GstWebRTCRTPReceiver GstWebRTCRTPReceiver;
-typedef struct _GstWebRTCRTPReceiverClass GstWebRTCRTPReceiverClass;
-
 struct _GstWebRTCRTPReceiver
 {
   GstObject                          parent;