diff options
author | Max Kellermann <max@musicpd.org> | 2018-11-19 12:49:45 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-11-19 16:33:49 +0100 |
commit | ce49d99c2f3265f2975b2cff583684bf191bbd93 (patch) | |
tree | 98fa09c94aa5d170fd3f553ac107ea2f0aa82bf4 /src/output | |
parent | 2e450bbf959e7b72894c5037a2d46523556c8b72 (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/output')
36 files changed, 1 insertions, 39 deletions
diff --git a/src/output/Client.hxx b/src/output/Client.hxx index ae3f00a1e..a835928c8 100644 --- a/src/output/Client.hxx +++ b/src/output/Client.hxx @@ -20,8 +20,6 @@ #ifndef MPD_OUTPUT_CLIENT_HXX #define MPD_OUTPUT_CLIENT_HXX -#include "check.h" - /** * An interface between the #AudioOutput and the #Player. */ diff --git a/src/output/Control.cxx b/src/output/Control.cxx index 39812b165..45b1b6429 100644 --- a/src/output/Control.cxx +++ b/src/output/Control.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Control.hxx" #include "Filtered.hxx" #include "Domain.hxx" diff --git a/src/output/Defaults.cxx b/src/output/Defaults.cxx index 53db168f0..cfa5093c5 100644 --- a/src/output/Defaults.cxx +++ b/src/output/Defaults.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Defaults.hxx" #include "config/Data.hxx" #include "mixer/MixerType.hxx" diff --git a/src/output/Defaults.hxx b/src/output/Defaults.hxx index 3c839b450..a080b6703 100644 --- a/src/output/Defaults.hxx +++ b/src/output/Defaults.hxx @@ -20,7 +20,6 @@ #ifndef MPD_AUDIO_OUTPUT_DEFAULTS_HXX #define MPD_AUDIO_OUTPUT_DEFAULTS_HXX -#include "check.h" #include "mixer/MixerType.hxx" struct ConfigData; diff --git a/src/output/Filtered.cxx b/src/output/Filtered.cxx index 6a0fedb49..cbefcdbc9 100644 --- a/src/output/Filtered.cxx +++ b/src/output/Filtered.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Filtered.hxx" #include "Interface.hxx" #include "Domain.hxx" diff --git a/src/output/Finish.cxx b/src/output/Finish.cxx index e7fb5b3d1..a023f1d68 100644 --- a/src/output/Finish.cxx +++ b/src/output/Finish.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Filtered.hxx" #include "Interface.hxx" #include "mixer/MixerControl.hxx" diff --git a/src/output/Init.cxx b/src/output/Init.cxx index b791ae867..116d417c3 100644 --- a/src/output/Init.cxx +++ b/src/output/Init.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Filtered.hxx" #include "Registry.hxx" #include "Domain.hxx" diff --git a/src/output/MultipleOutputs.cxx b/src/output/MultipleOutputs.cxx index 31cc8e3f6..12c102618 100644 --- a/src/output/MultipleOutputs.cxx +++ b/src/output/MultipleOutputs.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "MultipleOutputs.hxx" #include "Filtered.hxx" #include "Defaults.hxx" diff --git a/src/output/OutputCommand.cxx b/src/output/OutputCommand.cxx index 830704dc4..c4ab66231 100644 --- a/src/output/OutputCommand.cxx +++ b/src/output/OutputCommand.cxx @@ -24,7 +24,6 @@ * */ -#include "config.h" #include "OutputCommand.hxx" #include "MultipleOutputs.hxx" #include "Filtered.hxx" diff --git a/src/output/OutputPlugin.cxx b/src/output/OutputPlugin.cxx index 9846fa1e8..6475b6c9a 100644 --- a/src/output/OutputPlugin.cxx +++ b/src/output/OutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "OutputPlugin.hxx" #include <assert.h> diff --git a/src/output/Print.cxx b/src/output/Print.cxx index f22093b93..8bd7f94c6 100644 --- a/src/output/Print.cxx +++ b/src/output/Print.cxx @@ -22,7 +22,6 @@ * */ -#include "config.h" #include "Print.hxx" #include "MultipleOutputs.hxx" #include "Filtered.hxx" diff --git a/src/output/SharedPipeConsumer.cxx b/src/output/SharedPipeConsumer.cxx index 43bc06a0f..d74a69c4e 100644 --- a/src/output/SharedPipeConsumer.cxx +++ b/src/output/SharedPipeConsumer.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "SharedPipeConsumer.hxx" #include "MusicChunk.hxx" #include "MusicPipe.hxx" diff --git a/src/output/SharedPipeConsumer.hxx b/src/output/SharedPipeConsumer.hxx index 9761dbaba..43c2d105f 100644 --- a/src/output/SharedPipeConsumer.hxx +++ b/src/output/SharedPipeConsumer.hxx @@ -20,7 +20,6 @@ #ifndef SHARED_PIPE_CONSUMER_HXX #define SHARED_PIPE_CONSUMER_HXX -#include "check.h" #include "util/Compiler.h" #include <assert.h> diff --git a/src/output/Source.cxx b/src/output/Source.cxx index 7c47ad40c..7c5098d8e 100644 --- a/src/output/Source.cxx +++ b/src/output/Source.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Source.hxx" #include "MusicChunk.hxx" #include "filter/Filter.hxx" diff --git a/src/output/Source.hxx b/src/output/Source.hxx index 6c6a73db8..a2b04a8e4 100644 --- a/src/output/Source.hxx +++ b/src/output/Source.hxx @@ -20,7 +20,6 @@ #ifndef AUDIO_OUTPUT_SOURCE_HXX #define AUDIO_OUTPUT_SOURCE_HXX -#include "check.h" #include "util/Compiler.h" #include "SharedPipeConsumer.hxx" #include "AudioFormat.hxx" diff --git a/src/output/State.cxx b/src/output/State.cxx index dfe4f1908..ada2353c9 100644 --- a/src/output/State.cxx +++ b/src/output/State.cxx @@ -22,7 +22,6 @@ * */ -#include "config.h" #include "State.hxx" #include "MultipleOutputs.hxx" #include "Filtered.hxx" diff --git a/src/output/Thread.cxx b/src/output/Thread.cxx index 0d6f5e308..847a6642e 100644 --- a/src/output/Thread.cxx +++ b/src/output/Thread.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Control.hxx" #include "Filtered.hxx" #include "Client.hxx" diff --git a/src/output/Timer.cxx b/src/output/Timer.cxx index 74a8af296..8fffa0462 100644 --- a/src/output/Timer.cxx +++ b/src/output/Timer.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Timer.hxx" #include "AudioFormat.hxx" diff --git a/src/output/plugins/AoOutputPlugin.cxx b/src/output/plugins/AoOutputPlugin.cxx index b453b62e0..72ec94d22 100644 --- a/src/output/plugins/AoOutputPlugin.cxx +++ b/src/output/plugins/AoOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "AoOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "thread/SafeSingleton.hxx" diff --git a/src/output/plugins/FifoOutputPlugin.cxx b/src/output/plugins/FifoOutputPlugin.cxx index cfe3c255e..e7c688357 100644 --- a/src/output/plugins/FifoOutputPlugin.cxx +++ b/src/output/plugins/FifoOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "FifoOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "../Timer.hxx" diff --git a/src/output/plugins/HaikuOutputPlugin.cxx b/src/output/plugins/HaikuOutputPlugin.cxx index 127a0f2ea..5d8cbf374 100644 --- a/src/output/plugins/HaikuOutputPlugin.cxx +++ b/src/output/plugins/HaikuOutputPlugin.cxx @@ -18,7 +18,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "HaikuOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "mixer/MixerList.hxx" diff --git a/src/output/plugins/NullOutputPlugin.cxx b/src/output/plugins/NullOutputPlugin.cxx index 454a7b4a6..fae9f24d6 100644 --- a/src/output/plugins/NullOutputPlugin.cxx +++ b/src/output/plugins/NullOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "NullOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "../Timer.hxx" diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx index 67778e44c..d832bae75 100644 --- a/src/output/plugins/OpenALOutputPlugin.cxx +++ b/src/output/plugins/OpenALOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "OpenALOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "util/RuntimeError.hxx" diff --git a/src/output/plugins/OssOutputPlugin.cxx b/src/output/plugins/OssOutputPlugin.cxx index 930a33144..26e8ff2a9 100644 --- a/src/output/plugins/OssOutputPlugin.cxx +++ b/src/output/plugins/OssOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "OssOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "mixer/MixerList.hxx" diff --git a/src/output/plugins/PipeOutputPlugin.cxx b/src/output/plugins/PipeOutputPlugin.cxx index 7a556c023..2ad3d5ff6 100644 --- a/src/output/plugins/PipeOutputPlugin.cxx +++ b/src/output/plugins/PipeOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "PipeOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "system/Error.hxx" diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index 3e9df98b8..59fe9fb54 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "PulseOutputPlugin.hxx" #include "lib/pulse/Domain.hxx" #include "lib/pulse/Error.hxx" diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index 48757e6de..194aa080e 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "RecorderOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "tag/Format.hxx" diff --git a/src/output/plugins/ShoutOutputPlugin.cxx b/src/output/plugins/ShoutOutputPlugin.cxx index 25999e5ed..df9df58e4 100644 --- a/src/output/plugins/ShoutOutputPlugin.cxx +++ b/src/output/plugins/ShoutOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "ShoutOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "encoder/EncoderInterface.hxx" diff --git a/src/output/plugins/SndioOutputPlugin.cxx b/src/output/plugins/SndioOutputPlugin.cxx index 3dbf815cf..2df3536c3 100644 --- a/src/output/plugins/SndioOutputPlugin.cxx +++ b/src/output/plugins/SndioOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "SndioOutputPlugin.hxx" #include "mixer/MixerList.hxx" #include "mixer/Listener.hxx" diff --git a/src/output/plugins/SolarisOutputPlugin.cxx b/src/output/plugins/SolarisOutputPlugin.cxx index 030712e4d..bb7cc56d6 100644 --- a/src/output/plugins/SolarisOutputPlugin.cxx +++ b/src/output/plugins/SolarisOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "SolarisOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "system/FileDescriptor.hxx" diff --git a/src/output/plugins/WinmmOutputPlugin.cxx b/src/output/plugins/WinmmOutputPlugin.cxx index a7d373fe8..c79b464f8 100644 --- a/src/output/plugins/WinmmOutputPlugin.cxx +++ b/src/output/plugins/WinmmOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "WinmmOutputPlugin.hxx" #include "../OutputAPI.hxx" #include "pcm/PcmBuffer.hxx" diff --git a/src/output/plugins/WinmmOutputPlugin.hxx b/src/output/plugins/WinmmOutputPlugin.hxx index 4a52cd5d5..7d51041e2 100644 --- a/src/output/plugins/WinmmOutputPlugin.hxx +++ b/src/output/plugins/WinmmOutputPlugin.hxx @@ -20,7 +20,7 @@ #ifndef MPD_WINMM_OUTPUT_PLUGIN_HXX #define MPD_WINMM_OUTPUT_PLUGIN_HXX -#include "check.h" +#include "config.h" #ifdef ENABLE_WINMM_OUTPUT diff --git a/src/output/plugins/httpd/HttpdClient.cxx b/src/output/plugins/httpd/HttpdClient.cxx index d10620849..37a7746d4 100644 --- a/src/output/plugins/httpd/HttpdClient.cxx +++ b/src/output/plugins/httpd/HttpdClient.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "HttpdClient.hxx" #include "HttpdInternal.hxx" #include "util/ASCII.hxx" diff --git a/src/output/plugins/httpd/IcyMetaDataServer.cxx b/src/output/plugins/httpd/IcyMetaDataServer.cxx index aaf94cdb3..10d908285 100644 --- a/src/output/plugins/httpd/IcyMetaDataServer.cxx +++ b/src/output/plugins/httpd/IcyMetaDataServer.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "IcyMetaDataServer.hxx" #include "tag/Tag.hxx" #include "util/FormatString.hxx" diff --git a/src/output/plugins/httpd/Page.cxx b/src/output/plugins/httpd/Page.cxx index 0ce9032bb..b6120fced 100644 --- a/src/output/plugins/httpd/Page.cxx +++ b/src/output/plugins/httpd/Page.cxx @@ -17,12 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "Page.hxx" -#include <assert.h> #include <string.h> -#include <stdlib.h> Page::Page(const void *data, size_t size) :buffer(size) diff --git a/src/output/plugins/sles/SlesOutputPlugin.cxx b/src/output/plugins/sles/SlesOutputPlugin.cxx index f0024951a..3ebe08dfd 100644 --- a/src/output/plugins/sles/SlesOutputPlugin.cxx +++ b/src/output/plugins/sles/SlesOutputPlugin.cxx @@ -17,7 +17,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "config.h" #include "SlesOutputPlugin.hxx" #include "Object.hxx" #include "Engine.hxx" |