From 9a08857c1f45ad7ff0ff52e3a768a8fdaa2d4299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 24 Mar 2010 11:27:40 +0100 Subject: [PATCH] build: Add all kinds of compiler warning flags and fix the resulting warnings --- ext/lame/gstlame.h | 2 +- ext/lame/gstlamemp3enc.h | 2 +- ext/lame/plugin.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/lame/gstlame.h b/ext/lame/gstlame.h index a64648177b..f9a1370c14 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 6adfb37a30..2ee8348952 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 a9312285d1..a54aedce4c 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)