build: Add all kinds of compiler warning flags and fix the resulting warnings
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Mar 2010 10:27:40 +0000 (11:27 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Mar 2010 10:27:40 +0000 (11:27 +0100)
ext/lame/gstlame.h
ext/lame/gstlamemp3enc.h
ext/lame/plugin.c

index a646481..f9a1370 100644 (file)
@@ -104,8 +104,8 @@ struct _GstLameClass {
 };
 
 GType gst_lame_get_type(void);
+gboolean gst_lame_register (GstPlugin * plugin);
 
 G_END_DECLS
 
-
 #endif /* __GST_LAME_H__ */
index 6adfb37..2ee8348 100644 (file)
@@ -83,8 +83,8 @@ struct _GstLameMP3EncClass {
 };
 
 GType gst_lamemp3enc_get_type(void);
+gboolean gst_lamemp3enc_register (GstPlugin * plugin);
 
 G_END_DECLS
 
-
 #endif /* __GST_LAMEMP3ENC_H__ */
index a931228..a54aedc 100644 (file)
@@ -24,8 +24,8 @@
 #include <gst/gst.h>
 #include <gst/gst-i18n-plugin.h>
 
-gboolean gst_lamemp3enc_register (GstPlugin * plugin);
-gboolean gst_lame_register (GstPlugin * plugin);
+#include "gstlame.h"
+#include "gstlamemp3enc.h"
 
 static gboolean
 plugin_init (GstPlugin * plugin)