From 975370c084c8d679ff2cc2fcee48326b1dbcbf2e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 09:38:02 +0100 Subject: decoder_api.h, ...: add "extern C" --- src/db/ProxyDatabasePlugin.cxx | 3 +-- src/db/SimpleDatabasePlugin.cxx | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/db') diff --git a/src/db/ProxyDatabasePlugin.cxx b/src/db/ProxyDatabasePlugin.cxx index e41ee8819..fcdbae9f0 100644 --- a/src/db/ProxyDatabasePlugin.cxx +++ b/src/db/ProxyDatabasePlugin.cxx @@ -24,12 +24,11 @@ #include "PlaylistVector.hxx" #include "Directory.hxx" #include "gcc.h" +#include "conf.h" extern "C" { #include "db_error.h" -#include "conf.h" #include "song.h" -#include "tag.h" } #undef MPD_DIRECTORY_H diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx index 84e4e7cee..8eea81e30 100644 --- a/src/db/SimpleDatabasePlugin.cxx +++ b/src/db/SimpleDatabasePlugin.cxx @@ -27,10 +27,7 @@ #include "DatabaseLock.hxx" #include "db_error.h" #include "TextFile.hxx" - -extern "C" { #include "conf.h" -} #include #include -- cgit v1.2.3