aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-17 08:54:28 +0200
committerMax Kellermann <max@duempel.org>2011-09-17 19:51:41 +0200
commit3c9bcdd34701196c3d662888c3506a2a001cb252 (patch)
tree38d452f11a5d104e192cd1990947872e1713ea69 /src/output_list.c
parent3934d2d30cf97271dc7b33e3b77b101f09f916e7 (diff)
downloadmpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.gz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.tar.xz
mpd-3c9bcdd34701196c3d662888c3506a2a001cb252.zip
output: per-plugin header
Move the "extern" declarations from output_list.c, for more type safety.
Diffstat (limited to 'src/output_list.c')
-rw-r--r--src/output_list.c39
1 files changed, 19 insertions, 20 deletions
diff --git a/src/output_list.c b/src/output_list.c
index 75d24d63b..32a3f6706 100644
--- a/src/output_list.c
+++ b/src/output_list.c
@@ -20,26 +20,25 @@
#include "config.h"
#include "output_list.h"
#include "output_api.h"
-
-extern const struct audio_output_plugin shoutPlugin;
-extern const struct audio_output_plugin null_output_plugin;
-extern const struct audio_output_plugin fifo_output_plugin;
-extern const struct audio_output_plugin pipe_output_plugin;
-extern const struct audio_output_plugin alsaPlugin;
-extern const struct audio_output_plugin roar_output_plugin;
-extern const struct audio_output_plugin ao_output_plugin;
-extern const struct audio_output_plugin oss_output_plugin;
-extern const struct audio_output_plugin openal_output_plugin;
-extern const struct audio_output_plugin osxPlugin;
-extern const struct audio_output_plugin raopPlugin;
-extern const struct audio_output_plugin solaris_output_plugin;
-extern const struct audio_output_plugin pulse_output_plugin;
-extern const struct audio_output_plugin mvp_output_plugin;
-extern const struct audio_output_plugin jack_output_plugin;
-extern const struct audio_output_plugin httpd_output_plugin;
-extern const struct audio_output_plugin recorder_output_plugin;
-extern const struct audio_output_plugin winmm_output_plugin;
-extern const struct audio_output_plugin ffado_output_plugin;
+#include "output/alsa_output_plugin.h"
+#include "output/ao_output_plugin.h"
+#include "output/ffado_output_plugin.h"
+#include "output/fifo_output_plugin.h"
+#include "output/httpd_output_plugin.h"
+#include "output/jack_output_plugin.h"
+#include "output/mvp_output_plugin.h"
+#include "output/null_output_plugin.h"
+#include "output/openal_output_plugin.h"
+#include "output/oss_output_plugin.h"
+#include "output/osx_output_plugin.h"
+#include "output/pipe_output_plugin.h"
+#include "output/pulse_output_plugin.h"
+#include "output/raop_output_plugin.h"
+#include "output/recorder_output_plugin.h"
+#include "output/roar_output_plugin.h"
+#include "output/shout_output_plugin.h"
+#include "output/solaris_output_plugin.h"
+#include "output/winmm_output_plugin.h"
const struct audio_output_plugin *audio_output_plugins[] = {
#ifdef HAVE_SHOUT