bluez: First attempt in fixing compiler warnings (still needs cleanup)
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Dec 2008 04:25:50 +0000 (05:25 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:11 +0000 (14:30 +0000)
sys/bluez/gsta2dpsink.c
sys/bluez/gsta2dpsink.h
sys/bluez/gstavdtpsink.h

index 1de9170..6f6b43e 100644 (file)
@@ -30,6 +30,8 @@
 
 #include "gsta2dpsink.h"
 
+GType gst_avdtp_sink_get_type (void);
+
 GST_DEBUG_CATEGORY_STATIC (gst_a2dp_sink_debug);
 #define GST_CAT_DEFAULT gst_a2dp_sink_debug
 
index 2dc6ba6..1144121 100644 (file)
  *
  */
 
+#ifndef __GST_A2DP_SINK_H__
+#define __GST_A2DP_SINK_H__
+
 #include <gst/gst.h>
 #include <gst/rtp/gstbasertppayload.h>
 #include "gstavdtpsink.h"
 
-#ifndef __GST_A2DP_SINK_H__
-#define __GST_A2DP_SINK_H__
-
 G_BEGIN_DECLS
 
 #define GST_TYPE_A2DP_SINK \
@@ -72,7 +72,8 @@ struct _GstA2dpSinkClass {
        GstBinClass parent_class;
 };
 
-GType gst_a2dp_sink_get_type(void);
+//GType gst_a2dp_sink_get_type(void);
+
 gboolean gst_a2dp_sink_plugin_init (GstPlugin * plugin);
 
 GstCaps *gst_a2dp_sink_get_device_caps(GstA2dpSink *self);
index 5ebc0fe..000e6e3 100644 (file)
@@ -75,7 +75,7 @@ struct _GstAvdtpSinkClass {
        GstBaseSinkClass parent_class;
 };
 
-GType gst_avdtp_sink_get_type(void);
+//GType gst_avdtp_sink_get_type(void);
 
 GstCaps *gst_avdtp_sink_get_device_caps(GstAvdtpSink *sink);
 gboolean gst_avdtp_sink_set_device_caps(GstAvdtpSink *sink,