aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 09:38:02 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 10:07:40 +0100
commit975370c084c8d679ff2cc2fcee48326b1dbcbf2e (patch)
treea7df707eb1712c1921367862b35c6265c80bd5a5 /test
parentc3c776bc6aa9f550a832ff3a2ace4f7980f6a791 (diff)
downloadmpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.gz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.tar.xz
mpd-975370c084c8d679ff2cc2fcee48326b1dbcbf2e.zip
decoder_api.h, ...: add "extern C"
Diffstat (limited to 'test')
-rw-r--r--test/DumpDatabase.cxx3
-rw-r--r--test/dump_playlist.cxx6
-rw-r--r--test/run_input.cxx6
-rw-r--r--test/run_output.cxx2
4 files changed, 7 insertions, 10 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 0678d7076..ea0ebb44c 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -24,11 +24,8 @@
#include "Directory.hxx"
#include "song.h"
#include "PlaylistVector.hxx"
-
-extern "C" {
#include "conf.h"
#include "tag.h"
-}
#include <iostream>
using std::cout;
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index 7d4aa96e6..ee54c465d 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -21,13 +21,13 @@
#include "TagSave.hxx"
#include "song.h"
#include "Directory.hxx"
+#include "input_stream.h"
+#include "conf.h"
+#include "decoder_api.h"
extern "C" {
#include "io_thread.h"
#include "input_init.h"
-#include "input_stream.h"
-#include "conf.h"
-#include "decoder_api.h"
#include "decoder_list.h"
#include "playlist_list.h"
#include "playlist_plugin.h"
diff --git a/test/run_input.cxx b/test/run_input.cxx
index 52b53db5a..2df5e69f9 100644
--- a/test/run_input.cxx
+++ b/test/run_input.cxx
@@ -20,13 +20,13 @@
#include "config.h"
#include "TagSave.hxx"
#include "stdbin.h"
+#include "tag.h"
+#include "conf.h"
+#include "input_stream.h"
extern "C" {
#include "io_thread.h"
#include "input_init.h"
-#include "input_stream.h"
-#include "tag.h"
-#include "conf.h"
#ifdef ENABLE_ARCHIVE
#include "archive_list.h"
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 04374537e..e46e61d47 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -19,12 +19,12 @@
#include "config.h"
#include "OutputControl.hxx"
+#include "conf.h"
extern "C" {
#include "output_plugin.h"
#include "output_internal.h"
#include "io_thread.h"
-#include "conf.h"
#include "audio_parser.h"
#include "filter_registry.h"
#include "pcm_convert.h"