aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:08 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:08 +0200
commitf5711e28daed603c26cf78713837d9c4e1eacdfd (patch)
treed6fb5cba8ca8e1188de488185986e91322b19045 /src
parente41be362a1dc5691721d72b7f915e32d7f5272bb (diff)
downloadmpd-f5711e28daed603c26cf78713837d9c4e1eacdfd.tar.gz
mpd-f5711e28daed603c26cf78713837d9c4e1eacdfd.tar.xz
mpd-f5711e28daed603c26cf78713837d9c4e1eacdfd.zip
moved decoder externs to inputPlugin.c
The decoder_plugin instances are only used inputPlugin.c, so move them from the header file.
Diffstat (limited to '')
-rw-r--r--src/inputPlugin.c11
-rw-r--r--src/inputPlugin.h11
2 files changed, 11 insertions, 11 deletions
diff --git a/src/inputPlugin.c b/src/inputPlugin.c
index 5bf2bdaa7..4df445a29 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 319c665c7..4f3bf3595 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