From: Sebastian Dröge Date: Wed, 24 Mar 2010 10:27:40 +0000 (+0100) Subject: build: Add all kinds of compiler warning flags and fix the resulting warnings X-Git-Tag: 1.16.2~901^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a08857c1f45ad7ff0ff52e3a768a8fdaa2d4299;p=platform%2Fupstream%2Fgst-plugins-good.git build: Add all kinds of compiler warning flags and fix the resulting warnings --- diff --git a/ext/lame/gstlame.h b/ext/lame/gstlame.h index a646481..f9a1370 100644 --- a/ext/lame/gstlame.h +++ b/ext/lame/gstlame.h @@ -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__ */ diff --git a/ext/lame/gstlamemp3enc.h b/ext/lame/gstlamemp3enc.h index 6adfb37..2ee8348 100644 --- a/ext/lame/gstlamemp3enc.h +++ b/ext/lame/gstlamemp3enc.h @@ -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__ */ diff --git a/ext/lame/plugin.c b/ext/lame/plugin.c index a931228..a54aedc 100644 --- a/ext/lame/plugin.c +++ b/ext/lame/plugin.c @@ -24,8 +24,8 @@ #include #include -gboolean gst_lamemp3enc_register (GstPlugin * plugin); -gboolean gst_lame_register (GstPlugin * plugin); +#include "gstlame.h" +#include "gstlamemp3enc.h" static gboolean plugin_init (GstPlugin * plugin)