summaryrefslogtreecommitdiff
path: root/src/filter
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-19 12:49:45 +0100
committerMax Kellermann <max@musicpd.org>2018-11-19 16:33:49 +0100
commitce49d99c2f3265f2975b2cff583684bf191bbd93 (patch)
tree98fa09c94aa5d170fd3f553ac107ea2f0aa82bf4 /src/filter
parent2e450bbf959e7b72894c5037a2d46523556c8b72 (diff)
check.h: remove obsolete header
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
Diffstat (limited to 'src/filter')
-rw-r--r--src/filter/Factory.cxx1
-rw-r--r--src/filter/Factory.hxx2
-rw-r--r--src/filter/FilterRegistry.cxx1
-rw-r--r--src/filter/LoadChain.cxx1
-rw-r--r--src/filter/LoadOne.cxx1
-rw-r--r--src/filter/Observer.cxx1
-rw-r--r--src/filter/Observer.hxx2
-rw-r--r--src/filter/plugins/AutoConvertFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/ChainFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/ConvertFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/NormalizeFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/NullFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/ReplayGainFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/RouteFilterPlugin.cxx1
-rw-r--r--src/filter/plugins/VolumeFilterPlugin.cxx1
15 files changed, 0 insertions, 17 deletions
diff --git a/src/filter/Factory.cxx b/src/filter/Factory.cxx
index baa4cd09e..993ae85ad 100644
--- a/src/filter/Factory.cxx
+++ b/src/filter/Factory.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "Factory.hxx"
#include "LoadOne.hxx"
#include "Prepared.hxx"
diff --git a/src/filter/Factory.hxx b/src/filter/Factory.hxx
index 350cc2941..a1a9cb688 100644
--- a/src/filter/Factory.hxx
+++ b/src/filter/Factory.hxx
@@ -20,8 +20,6 @@
#ifndef MPD_FILTER_FACTORY_HXX
#define MPD_FILTER_FACTORY_HXX
-#include "check.h"
-
#include <memory>
struct ConfigData;
diff --git a/src/filter/FilterRegistry.cxx b/src/filter/FilterRegistry.cxx
index 3f6b4652e..192306e4a 100644
--- a/src/filter/FilterRegistry.cxx
+++ b/src/filter/FilterRegistry.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "FilterRegistry.hxx"
#include "FilterPlugin.hxx"
diff --git a/src/filter/LoadChain.cxx b/src/filter/LoadChain.cxx
index fee15bebe..2cfffa0e7 100644
--- a/src/filter/LoadChain.cxx
+++ b/src/filter/LoadChain.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "LoadChain.hxx"
#include "Factory.hxx"
#include "Prepared.hxx"
diff --git a/src/filter/LoadOne.cxx b/src/filter/LoadOne.cxx
index f918f50c3..00c60ea32 100644
--- a/src/filter/LoadOne.cxx
+++ b/src/filter/LoadOne.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "LoadOne.hxx"
#include "FilterPlugin.hxx"
#include "FilterRegistry.hxx"
diff --git a/src/filter/Observer.cxx b/src/filter/Observer.cxx
index be185cd6f..337718fdf 100644
--- a/src/filter/Observer.cxx
+++ b/src/filter/Observer.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "Observer.hxx"
#include "Filter.hxx"
#include "Prepared.hxx"
diff --git a/src/filter/Observer.hxx b/src/filter/Observer.hxx
index 8a1d6db72..bed934bcc 100644
--- a/src/filter/Observer.hxx
+++ b/src/filter/Observer.hxx
@@ -20,8 +20,6 @@
#ifndef MPD_FILTER_OBSERVER_HXX
#define MPD_FILTER_OBSERVER_HXX
-#include "check.h"
-
#include <memory>
class PreparedFilter;
diff --git a/src/filter/plugins/AutoConvertFilterPlugin.cxx b/src/filter/plugins/AutoConvertFilterPlugin.cxx
index 6cce1877e..08302cc00 100644
--- a/src/filter/plugins/AutoConvertFilterPlugin.cxx
+++ b/src/filter/plugins/AutoConvertFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "AutoConvertFilterPlugin.hxx"
#include "ConvertFilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
diff --git a/src/filter/plugins/ChainFilterPlugin.cxx b/src/filter/plugins/ChainFilterPlugin.cxx
index adcf0346c..2c64bd4e7 100644
--- a/src/filter/plugins/ChainFilterPlugin.cxx
+++ b/src/filter/plugins/ChainFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ChainFilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
diff --git a/src/filter/plugins/ConvertFilterPlugin.cxx b/src/filter/plugins/ConvertFilterPlugin.cxx
index 9fdd9028f..80b28566e 100644
--- a/src/filter/plugins/ConvertFilterPlugin.cxx
+++ b/src/filter/plugins/ConvertFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ConvertFilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
diff --git a/src/filter/plugins/NormalizeFilterPlugin.cxx b/src/filter/plugins/NormalizeFilterPlugin.cxx
index ea0399954..a0594c3f0 100644
--- a/src/filter/plugins/NormalizeFilterPlugin.cxx
+++ b/src/filter/plugins/NormalizeFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "NormalizeFilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
diff --git a/src/filter/plugins/NullFilterPlugin.cxx b/src/filter/plugins/NullFilterPlugin.cxx
index 669f3f7b8..ca04f8483 100644
--- a/src/filter/plugins/NullFilterPlugin.cxx
+++ b/src/filter/plugins/NullFilterPlugin.cxx
@@ -24,7 +24,6 @@
* plugins.
*/
-#include "config.h"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
diff --git a/src/filter/plugins/ReplayGainFilterPlugin.cxx b/src/filter/plugins/ReplayGainFilterPlugin.cxx
index 77f5e85d1..762913685 100644
--- a/src/filter/plugins/ReplayGainFilterPlugin.cxx
+++ b/src/filter/plugins/ReplayGainFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "ReplayGainFilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
diff --git a/src/filter/plugins/RouteFilterPlugin.cxx b/src/filter/plugins/RouteFilterPlugin.cxx
index bbdf4fa57..ef17740a9 100644
--- a/src/filter/plugins/RouteFilterPlugin.cxx
+++ b/src/filter/plugins/RouteFilterPlugin.cxx
@@ -39,7 +39,6 @@
* one of them takes effect.
*/
-#include "config.h"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "AudioFormat.hxx"
diff --git a/src/filter/plugins/VolumeFilterPlugin.cxx b/src/filter/plugins/VolumeFilterPlugin.cxx
index 2981dfd3b..72f4c1582 100644
--- a/src/filter/plugins/VolumeFilterPlugin.cxx
+++ b/src/filter/plugins/VolumeFilterPlugin.cxx
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "config.h"
#include "VolumeFilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"