include cleanups (powered by iwyu)

This commit is contained in:
Max Kellermann
2019-07-05 09:59:00 +02:00
parent 9cdebc90a0
commit d663f81420
229 changed files with 67 additions and 397 deletions
-4
View File
@@ -19,14 +19,10 @@
#include "Control.hxx"
#include "Filtered.hxx"
#include "Domain.hxx"
#include "mixer/MixerControl.hxx"
#include "filter/plugins/ReplayGainFilterPlugin.hxx"
#include "config/Block.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <assert.h>
/** after a failure, wait this duration before
-5
View File
@@ -28,16 +28,11 @@
#include "system/PeriodClock.hxx"
#include "util/Compiler.h"
#include <utility>
#include <exception>
#include <memory>
#include <string>
#include <map>
#ifndef NDEBUG
#include <assert.h>
#endif
#include <stdint.h>
enum class ReplayGainMode : uint8_t;
-2
View File
@@ -30,12 +30,10 @@
class FilterFactory;
class PreparedFilter;
class MusicPipe;
class EventLoop;
class Mixer;
class MixerListener;
struct MixerPlugin;
struct MusicChunk;
struct ConfigBlock;
class AudioOutput;
struct AudioOutputDefaults;
-4
View File
@@ -26,7 +26,6 @@
#include "mixer/MixerList.hxx"
#include "mixer/MixerType.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/plugins/SoftwareMixerPlugin.hxx"
#include "filter/LoadChain.hxx"
#include "filter/Prepared.hxx"
#include "filter/plugins/AutoConvertFilterPlugin.hxx"
@@ -35,9 +34,6 @@
#include "filter/plugins/ChainFilterPlugin.hxx"
#include "filter/plugins/VolumeFilterPlugin.hxx"
#include "filter/plugins/NormalizeFilterPlugin.hxx"
#include "config/Domain.hxx"
#include "config/Option.hxx"
#include "config/Block.hxx"
#include "util/RuntimeError.hxx"
#include "util/StringFormat.hxx"
#include "Log.hxx"
-1
View File
@@ -23,7 +23,6 @@
#include <map>
#include <string>
#include <chrono>
#include <stdexcept>
struct AudioFormat;
struct Tag;
-1
View File
@@ -20,7 +20,6 @@
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Defaults.hxx"
#include "Domain.hxx"
#include "MusicPipe.hxx"
#include "MusicChunk.hxx"
#include "filter/Factory.hxx"
-2
View File
@@ -26,9 +26,7 @@
#include "OutputCommand.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Client.hxx"
#include "player/Control.hxx"
#include "mixer/MixerControl.hxx"
#include "mixer/Volume.hxx"
#include "Idle.hxx"
-6
View File
@@ -22,13 +22,7 @@
#include "util/Compiler.h"
#include <chrono>
#include <stddef.h>
struct ConfigBlock;
struct AudioFormat;
struct Tag;
class AudioOutput;
struct MixerPlugin;
class EventLoop;
-1
View File
@@ -24,7 +24,6 @@
#include "Print.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "client/Response.hxx"
void
-1
View File
@@ -20,7 +20,6 @@
#ifndef AUDIO_OUTPUT_SOURCE_HXX
#define AUDIO_OUTPUT_SOURCE_HXX
#include "util/Compiler.h"
#include "SharedPipeConsumer.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainMode.hxx"
-1
View File
@@ -24,7 +24,6 @@
#include "State.hxx"
#include "MultipleOutputs.hxx"
#include "Filtered.hxx"
#include "Domain.hxx"
#include "Log.hxx"
#include "fs/io/BufferedOutputStream.hxx"
-1
View File
@@ -21,7 +21,6 @@
#include "Filtered.hxx"
#include "Client.hxx"
#include "Domain.hxx"
#include "mixer/MixerInternal.hxx"
#include "thread/Util.hxx"
#include "thread/Slack.hxx"
#include "thread/Name.hxx"
-2
View File
@@ -20,8 +20,6 @@
#include "Timer.hxx"
#include "AudioFormat.hxx"
#include <limits>
#include <assert.h>
Timer::Timer(const AudioFormat af)
-1
View File
@@ -34,7 +34,6 @@
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ScopeExit.hxx"
#include "util/StringView.hxx"
#include "event/MultiSocketMonitor.hxx"
#include "event/DeferEvent.hxx"
-1
View File
@@ -20,7 +20,6 @@
#include "config.h"
#include "JackOutputPlugin.hxx"
#include "../OutputAPI.hxx"
#include "config/Domain.hxx"
#include "util/ScopeExit.hxx"
#include "util/ConstBuffer.hxx"
#include "util/IterableSplitString.hxx"
-2
View File
@@ -18,7 +18,6 @@
*/
#include "PulseOutputPlugin.hxx"
#include "lib/pulse/Domain.hxx"
#include "lib/pulse/Error.hxx"
#include "lib/pulse/LogError.hxx"
#include "lib/pulse/LockGuard.hxx"
@@ -26,7 +25,6 @@
#include "mixer/MixerList.hxx"
#include "mixer/plugins/PulseMixerPlugin.hxx"
#include "util/ScopeExit.hxx"
#include "Log.hxx"
#include <pulse/thread-mainloop.h>
#include <pulse/context.h>
@@ -23,7 +23,6 @@
#include "encoder/ToOutputStream.hxx"
#include "encoder/EncoderInterface.hxx"
#include "encoder/Configured.hxx"
#include "config/Domain.hxx"
#include "config/Path.hxx"
#include "Log.hxx"
#include "fs/AllocatedPath.hxx"
-1
View File
@@ -34,7 +34,6 @@
#include <memory>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "HttpdOutputPlugin.hxx"
#include "HttpdInternal.hxx"
#include "HttpdClient.hxx"
@@ -26,19 +25,16 @@
#include "encoder/Configured.hxx"
#include "net/UniqueSocketDescriptor.hxx"
#include "net/SocketAddress.hxx"
#include "net/ToString.hxx"
#include "Page.hxx"
#include "IcyMetaDataServer.hxx"
#include "event/Call.hxx"
#include "util/Domain.hxx"
#include "util/DeleteDisposer.hxx"
#include "Log.hxx"
#include "config/Net.hxx"
#include <assert.h>
#include <string.h>
#include <errno.h>
const Domain httpd_output_domain("httpd_output");