From 595a975c95033e68e23727d96425fb92adf63bc1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 23 Dec 2008 05:25:50 +0100 Subject: First attempt in fixing compiler warnings (still needs cleanup) --- audio/gsta2dpsink.c | 2 ++ audio/gsta2dpsink.h | 9 +++++---- audio/gstavdtpsink.h | 2 +- audio/gstbluetooth.c | 4 ++-- audio/gstrtpsbcpay.h | 2 +- audio/gstsbcdec.c | 1 + audio/gstsbcdec.h | 3 +-- audio/gstsbcenc.c | 2 +- audio/gstsbcenc.h | 2 +- audio/gstsbcparse.c | 2 +- audio/gstsbcparse.h | 2 +- audio/gstsbcutil.h | 2 -- 12 files changed, 17 insertions(+), 16 deletions(-) diff --git a/audio/gsta2dpsink.c b/audio/gsta2dpsink.c index 22625a65..51425005 100644 --- a/audio/gsta2dpsink.c +++ b/audio/gsta2dpsink.c @@ -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 diff --git a/audio/gsta2dpsink.h b/audio/gsta2dpsink.h index 13409232..8d11b28d 100644 --- a/audio/gsta2dpsink.h +++ b/audio/gsta2dpsink.h @@ -21,13 +21,13 @@ * */ +#ifndef __GST_A2DP_SINK_H__ +#define __GST_A2DP_SINK_H__ + #include #include #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); diff --git a/audio/gstavdtpsink.h b/audio/gstavdtpsink.h index 5ebc0fee..000e6e3a 100644 --- a/audio/gstavdtpsink.h +++ b/audio/gstavdtpsink.h @@ -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, diff --git a/audio/gstbluetooth.c b/audio/gstbluetooth.c index ffc69768..f7d8db6c 100644 --- a/audio/gstbluetooth.c +++ b/audio/gstbluetooth.c @@ -25,10 +25,10 @@ #include #endif -#include - #include +#include + #include "gstsbcutil.h" #include diff --git a/audio/gstrtpsbcpay.h b/audio/gstrtpsbcpay.h index e56fef35..66236113 100644 --- a/audio/gstrtpsbcpay.h +++ b/audio/gstrtpsbcpay.h @@ -59,7 +59,7 @@ struct _GstRtpSBCPayClass { GstBaseRTPPayloadClass parent_class; }; -GType gst_rtp_sbc_pay_get_type(void); +//GType gst_rtp_sbc_pay_get_type(void); gboolean gst_rtp_sbc_pay_plugin_init (GstPlugin * plugin); diff --git a/audio/gstsbcdec.c b/audio/gstsbcdec.c index a53d93c3..1c7cb37f 100644 --- a/audio/gstsbcdec.c +++ b/audio/gstsbcdec.c @@ -27,6 +27,7 @@ #include +#include "gstsbcutil.h" #include "gstsbcdec.h" GST_DEBUG_CATEGORY_STATIC(sbc_dec_debug); diff --git a/audio/gstsbcdec.h b/audio/gstsbcdec.h index df687933..3fa7cd39 100644 --- a/audio/gstsbcdec.h +++ b/audio/gstsbcdec.h @@ -24,7 +24,6 @@ #include #include "sbc.h" -#include "gstsbcutil.h" G_BEGIN_DECLS @@ -60,7 +59,7 @@ struct _GstSbcDecClass { GstElementClass parent_class; }; -GType gst_sbc_dec_get_type(void); +//GType gst_sbc_dec_get_type(void); gboolean gst_sbc_dec_plugin_init(GstPlugin *plugin); diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c index 1a5daaa1..a45d7b0d 100644 --- a/audio/gstsbcenc.c +++ b/audio/gstsbcenc.c @@ -27,8 +27,8 @@ #include -#include "gstsbcenc.h" #include "gstsbcutil.h" +#include "gstsbcenc.h" #define SBC_ENC_DEFAULT_MODE SBC_MODE_AUTO #define SBC_ENC_DEFAULT_BLOCKS 0 diff --git a/audio/gstsbcenc.h b/audio/gstsbcenc.h index 17e89549..0038f899 100644 --- a/audio/gstsbcenc.h +++ b/audio/gstsbcenc.h @@ -68,7 +68,7 @@ struct _GstSbcEncClass { GstElementClass parent_class; }; -GType gst_sbc_enc_get_type(void); +//GType gst_sbc_enc_get_type(void); gboolean gst_sbc_enc_plugin_init(GstPlugin *plugin); diff --git a/audio/gstsbcparse.c b/audio/gstsbcparse.c index 72d36ce7..366641ab 100644 --- a/audio/gstsbcparse.c +++ b/audio/gstsbcparse.c @@ -27,8 +27,8 @@ #include -#include "gstsbcparse.h" #include "gstsbcutil.h" +#include "gstsbcparse.h" GST_DEBUG_CATEGORY_STATIC(sbc_parse_debug); #define GST_CAT_DEFAULT sbc_parse_debug diff --git a/audio/gstsbcparse.h b/audio/gstsbcparse.h index eceeeea1..7a3f8266 100644 --- a/audio/gstsbcparse.h +++ b/audio/gstsbcparse.h @@ -62,7 +62,7 @@ struct _GstSbcParseClass { GstElementClass parent_class; }; -GType gst_sbc_parse_get_type(void); +//GType gst_sbc_parse_get_type(void); gboolean gst_sbc_parse_plugin_init(GstPlugin *plugin); diff --git a/audio/gstsbcutil.h b/audio/gstsbcutil.h index a3cf937c..1f5d3270 100644 --- a/audio/gstsbcutil.h +++ b/audio/gstsbcutil.h @@ -39,8 +39,6 @@ gint gst_sbc_select_subbands_from_list(const GValue *value); gint gst_sbc_select_bitpool_from_range(const GValue *value); -gint gst_sbc_select_bitpool_from_range(const GValue *value); - const gchar *gst_sbc_get_allocation_from_list(const GValue *value); const gchar *gst_sbc_get_mode_from_list(const GValue *value, gint channels); -- cgit