The decoder_plugin instances are only used inputPlugin.c, so move them
from the header file.
---

 src/inputPlugin.c |   11 +++++++++++
 src/inputPlugin.h |   11 -----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/inputPlugin.c b/src/inputPlugin.c
index 5bf2bda..4df445a 100644
--- a/src/inputPlugin.c
+++ b/src/inputPlugin.c
@@ -19,6 +19,17 @@
 #include "inputPlugin.h"
 #include "decoder_api.h"
 
+extern struct decoder_plugin mp3Plugin;
+extern struct decoder_plugin oggvorbisPlugin;
+extern struct decoder_plugin flacPlugin;
+extern struct decoder_plugin oggflacPlugin;
+extern struct decoder_plugin audiofilePlugin;
+extern struct decoder_plugin mp4Plugin;
+extern struct decoder_plugin aacPlugin;
+extern struct decoder_plugin mpcPlugin;
+extern struct decoder_plugin wavpackPlugin;
+extern struct decoder_plugin modPlugin;
+
 static List *inputPlugin_list;
 
 void loadInputPlugin(struct decoder_plugin * inputPlugin)
diff --git a/src/inputPlugin.h b/src/inputPlugin.h
index 319c665..4f3bf35 100644
--- a/src/inputPlugin.h
+++ b/src/inputPlugin.h
@@ -43,15 +43,4 @@ void initInputPlugins(void);
 /* this is where we "unload" all the "plugins" */
 void finishInputPlugins(void);
 
-extern struct decoder_plugin mp3Plugin;
-extern struct decoder_plugin oggvorbisPlugin;
-extern struct decoder_plugin flacPlugin;
-extern struct decoder_plugin oggflacPlugin;
-extern struct decoder_plugin audiofilePlugin;
-extern struct decoder_plugin mp4Plugin;
-extern struct decoder_plugin aacPlugin;
-extern struct decoder_plugin mpcPlugin;
-extern struct decoder_plugin wavpackPlugin;
-extern struct decoder_plugin modPlugin;
-
 #endif


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to