Commit d663f814 authored by Max Kellermann's avatar Max Kellermann

include cleanups (powered by iwyu)

parent 9cdebc90
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/StringFormat.hxx"
#include <assert.h> #include <assert.h>
#include <stdio.h>
void void
AudioFormat::ApplyMask(AudioFormat mask) noexcept AudioFormat::ApplyMask(AudioFormat mask) noexcept
......
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
#include "pcm/ChannelDefs.hxx" #include "pcm/ChannelDefs.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <chrono> #include <cstdint>
#include <stdint.h>
#include <stddef.h> #include <stddef.h>
template<size_t CAPACITY> class StringBuffer; template<size_t CAPACITY> class StringBuffer;
......
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include <stdexcept>
#include <assert.h>
void void
CheckSampleRate(unsigned long sample_rate) CheckSampleRate(unsigned long sample_rate)
{ {
......
...@@ -36,13 +36,15 @@ ...@@ -36,13 +36,15 @@
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "fs/StandardDirectory.hxx" #include "fs/StandardDirectory.hxx"
#include "system/Error.hxx"
#include "util/Macros.hxx" #include "util/Macros.hxx"
#include "util/RuntimeError.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "util/OptionDef.hxx" #include "util/OptionDef.hxx"
#include "util/OptionParser.hxx" #include "util/OptionParser.hxx"
#ifdef _WIN32
#include "system/Error.hxx"
#endif
#ifdef ENABLE_DATABASE #ifdef ENABLE_DATABASE
#include "db/Registry.hxx" #include "db/Registry.hxx"
#include "db/DatabasePlugin.hxx" #include "db/DatabasePlugin.hxx"
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include "util/StringView.hxx" #include "util/StringView.hxx"
#include "Log.hxx" #include "Log.hxx"
#include <algorithm>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "Instance.hxx" #include "Instance.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include "Stats.hxx" #include "Stats.hxx"
#include "client/List.hxx" #include "client/List.hxx"
#include "input/cache/Manager.hxx" #include "input/cache/Manager.hxx"
...@@ -46,8 +46,6 @@ ...@@ -46,8 +46,6 @@
#endif #endif
#endif #endif
#include <exception>
Instance::Instance() Instance::Instance()
:rtio_thread(true), :rtio_thread(true),
#ifdef ENABLE_SYSTEMD_DAEMON #ifdef ENABLE_SYSTEMD_DAEMON
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include "fs/XDG.hxx" #include "fs/XDG.hxx"
#include <sys/stat.h> #include <sys/stat.h>
#include <string.h>
#include <assert.h>
#ifdef ENABLE_SYSTEMD_DAEMON #ifdef ENABLE_SYSTEMD_DAEMON
#include <systemd/sd-daemon.h> #include <systemd/sd-daemon.h>
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define MPD_LOCATE_URI_HXX #define MPD_LOCATE_URI_HXX
#include "config.h" #include "config.h"
#include "util/Compiler.h"
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#ifdef _WIN32 #ifdef _WIN32
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#include "Partition.hxx" #include "Partition.hxx"
#include "tag/Config.hxx" #include "tag/Config.hxx"
#include "ReplayGainGlobal.hxx" #include "ReplayGainGlobal.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "LogInit.hxx" #include "LogInit.hxx"
#include "input/Init.hxx" #include "input/Init.hxx"
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
#include "thread/Slack.hxx" #include "thread/Slack.hxx"
#include "net/Init.hxx" #include "net/Init.hxx"
#include "lib/icu/Init.hxx" #include "lib/icu/Init.hxx"
#include "config/File.hxx"
#include "config/Check.hxx" #include "config/Check.hxx"
#include "config/Data.hxx" #include "config/Data.hxx"
#include "config/Param.hxx" #include "config/Param.hxx"
...@@ -98,6 +97,7 @@ ...@@ -98,6 +97,7 @@
#include "android/Environment.hxx" #include "android/Environment.hxx"
#include "android/Context.hxx" #include "android/Context.hxx"
#include "android/LogListener.hxx" #include "android/LogListener.hxx"
#include "config/File.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "org_musicpd_Bridge.h" #include "org_musicpd_Bridge.h"
#endif #endif
......
...@@ -20,14 +20,12 @@ ...@@ -20,14 +20,12 @@
#ifndef MPD_MAIN_HXX #ifndef MPD_MAIN_HXX
#define MPD_MAIN_HXX #define MPD_MAIN_HXX
class EventLoop;
class Context;
struct Instance; struct Instance;
#ifdef ANDROID #ifdef ANDROID
#include "android/LogListener.hxx" #include "android/LogListener.hxx"
extern Context *context; extern class Context *context;
extern LogListener *logListener; extern LogListener *logListener;
#endif #endif
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include "MusicPipe.hxx" #include "MusicPipe.hxx"
#include "MusicChunk.hxx" #include "MusicChunk.hxx"
#include <assert.h>
#ifndef NDEBUG #ifndef NDEBUG
bool bool
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#endif #endif
#include <assert.h>
/** /**
* A queue of #MusicChunk objects. One party appends chunks at the * A queue of #MusicChunk objects. One party appends chunks at the
* tail, and the other consumes them from the head. * tail, and the other consumes them from the head.
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "ReplayGainMode.hxx" #include "ReplayGainMode.hxx"
#include "SingleMode.hxx" #include "SingleMode.hxx"
#include "Chrono.hxx" #include "Chrono.hxx"
#include "util/Compiler.h"
#include "config.h" #include "config.h"
#include <string> #include <string>
......
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"
#include <algorithm>
#include <map> #include <map>
#include <string> #include <string>
#include <utility>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -39,15 +39,11 @@ ...@@ -39,15 +39,11 @@
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "fs/FileInfo.hxx" #include "fs/FileInfo.hxx"
#include "fs/DirectoryReader.hxx" #include "fs/DirectoryReader.hxx"
#include "util/Macros.hxx"
#include "util/StringCompare.hxx" #include "util/StringCompare.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include <memory>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <errno.h>
static const char PLAYLIST_COMMENT = '#'; static const char PLAYLIST_COMMENT = '#';
......
...@@ -22,11 +22,6 @@ ...@@ -22,11 +22,6 @@
#include "PlaylistError.hxx" #include "PlaylistError.hxx"
#include "queue/Playlist.hxx" #include "queue/Playlist.hxx"
#include "queue/QueuePrint.hxx" #include "queue/QueuePrint.hxx"
#include "SongPrint.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "db/Interface.hxx"
#include "client/Response.hxx"
#define SONG_FILE "file: " #define SONG_FILE "file: "
#define SONG_TIME "Time: " #define SONG_TIME "Time: "
......
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
#include "fs/io/BufferedOutputStream.hxx" #include "fs/io/BufferedOutputStream.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include <exception>
static void static void
playlist_print_path(BufferedOutputStream &os, const Path path) playlist_print_path(BufferedOutputStream &os, const Path path)
{ {
......
...@@ -19,9 +19,7 @@ ...@@ -19,9 +19,7 @@
#include "ReplayGainGlobal.hxx" #include "ReplayGainGlobal.hxx"
#include "ReplayGainConfig.hxx" #include "ReplayGainConfig.hxx"
#include "config/Param.hxx"
#include "config/Data.hxx" #include "config/Data.hxx"
#include "util/RuntimeError.hxx"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -19,9 +19,6 @@ ...@@ -19,9 +19,6 @@
#include "SongPrint.hxx" #include "SongPrint.hxx"
#include "song/LightSong.hxx" #include "song/LightSong.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "storage/StorageInterface.hxx"
#include "song/DetachedSong.hxx" #include "song/DetachedSong.hxx"
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "TagPrint.hxx" #include "TagPrint.hxx"
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include "TagArchive.hxx" #include "TagArchive.hxx"
#endif #endif
#include <exception>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include <exception> #include <exception>
#include <string.h>
static constexpr Domain state_file_domain("state_file"); static constexpr Domain state_file_domain("state_file");
StateFile::StateFile(StateFileConfig &&_config, StateFile::StateFile(StateFileConfig &&_config,
......
...@@ -22,12 +22,10 @@ ...@@ -22,12 +22,10 @@
#include "StateFileConfig.hxx" #include "StateFileConfig.hxx"
#include "event/TimerEvent.hxx" #include "event/TimerEvent.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include "config.h" #include "config.h"
#include <string> #include <string>
#include <chrono>
struct Partition; struct Partition;
class OutputStream; class OutputStream;
......
...@@ -26,10 +26,13 @@ ...@@ -26,10 +26,13 @@
#include "db/Selection.hxx" #include "db/Selection.hxx"
#include "db/Interface.hxx" #include "db/Interface.hxx"
#include "db/Stats.hxx" #include "db/Stats.hxx"
#include "system/Clock.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "time/ChronoUtil.hxx" #include "time/ChronoUtil.hxx"
#ifdef _WIN32
#include "system/Clock.hxx"
#endif
#include <chrono> #include <chrono>
#include <cmath> #include <cmath>
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "input/LocalOpen.hxx" #include "input/LocalOpen.hxx"
#include <exception>
#include <assert.h> #include <assert.h>
class TagFileScan { class TagFileScan {
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include <exception>
#include <assert.h> #include <assert.h>
/** /**
......
...@@ -22,8 +22,6 @@ ...@@ -22,8 +22,6 @@
#include <chrono> #include <chrono>
#include <time.h>
class Response; class Response;
/** /**
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "BackgroundCommand.hxx" #include "BackgroundCommand.hxx"
#include "util/Domain.hxx"
#include "config.h" #include "config.h"
Client::~Client() noexcept Client::~Client() noexcept
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "Config.hxx" #include "Config.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "event/Loop.hxx"
#include "util/StringStrip.hxx" #include "util/StringStrip.hxx"
#include <string.h> #include <string.h>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "Client.hxx" #include "Client.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include <assert.h> #include <assert.h>
......
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#ifdef ENABLE_SQLITE #ifdef ENABLE_SQLITE
#include "StickerCommands.hxx" #include "StickerCommands.hxx"
#include "sticker/Database.hxx"
#endif #endif
#include <assert.h> #include <assert.h>
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
#include <system_error> #include <system_error>
#include <assert.h>
gcc_const gcc_const
static enum ack static enum ack
ToAck(PlaylistResult result) noexcept ToAck(PlaylistResult result) noexcept
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef MPD_COMMAND_ERROR_HXX #ifndef MPD_COMMAND_ERROR_HXX
#define MPD_COMMAND_ERROR_HXX #define MPD_COMMAND_ERROR_HXX
#include "CommandResult.hxx"
#include <exception> #include <exception>
class Response; class Response;
......
...@@ -24,20 +24,18 @@ ...@@ -24,20 +24,18 @@
#include "db/DatabasePrint.hxx" #include "db/DatabasePrint.hxx"
#include "db/Count.hxx" #include "db/Count.hxx"
#include "db/Selection.hxx" #include "db/Selection.hxx"
#include "CommandError.hxx"
#include "protocol/RangeArg.hxx" #include "protocol/RangeArg.hxx"
#include "client/Client.hxx" #include "client/Client.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
#include "tag/ParseName.hxx" #include "tag/ParseName.hxx"
#include "tag/Mask.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/Exception.hxx" #include "util/Exception.hxx"
#include "util/StringAPI.hxx" #include "util/StringAPI.hxx"
#include "util/ASCII.hxx" #include "util/ASCII.hxx"
#include "song/Filter.hxx" #include "song/Filter.hxx"
#include "BulkEdit.hxx"
#include <memory> #include <memory>
#include <vector>
CommandResult CommandResult
handle_listfiles_db(Client &client, Response &r, const char *uri) handle_listfiles_db(Client &client, Response &r, const char *uri)
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "config.h" #include "config.h"
#include "FileCommands.hxx" #include "FileCommands.hxx"
#include "Request.hxx" #include "Request.hxx"
#include "CommandError.hxx"
#include "protocol/Ack.hxx" #include "protocol/Ack.hxx"
#include "client/Client.hxx" #include "client/Client.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "Request.hxx" #include "Request.hxx"
#include "FileCommands.hxx" #include "FileCommands.hxx"
#include "StorageCommands.hxx" #include "StorageCommands.hxx"
#include "CommandError.hxx"
#include "db/Uri.hxx" #include "db/Uri.hxx"
#include "storage/StorageInterface.hxx" #include "storage/StorageInterface.hxx"
#include "LocateUri.hxx" #include "LocateUri.hxx"
...@@ -47,7 +46,7 @@ ...@@ -47,7 +46,7 @@
#include "client/Response.hxx" #include "client/Response.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include "Log.hxx" #include "Log.hxx"
#ifdef ENABLE_DATABASE #ifdef ENABLE_DATABASE
...@@ -57,7 +56,6 @@ ...@@ -57,7 +56,6 @@
#endif #endif
#include <assert.h> #include <assert.h>
#include <string.h>
static void static void
print_spl_list(Response &r, const PlaylistVector &list) print_spl_list(Response &r, const PlaylistVector &list)
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "config.h" #include "config.h"
#include "PlayerCommands.hxx" #include "PlayerCommands.hxx"
#include "Request.hxx" #include "Request.hxx"
#include "CommandError.hxx"
#include "queue/Playlist.hxx" #include "queue/Playlist.hxx"
#include "PlaylistPrint.hxx" #include "PlaylistPrint.hxx"
#include "SingleMode.hxx" #include "SingleMode.hxx"
...@@ -29,7 +28,7 @@ ...@@ -29,7 +28,7 @@
#include "mixer/Volume.hxx" #include "mixer/Volume.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/StringBuffer.hxx" #include "util/StringBuffer.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "Instance.hxx" #include "Instance.hxx"
#include "db/Selection.hxx" #include "db/Selection.hxx"
#include "db/DatabasePlaylist.hxx" #include "db/DatabasePlaylist.hxx"
#include "CommandError.hxx"
#include "PlaylistSave.hxx" #include "PlaylistSave.hxx"
#include "PlaylistFile.hxx" #include "PlaylistFile.hxx"
#include "PlaylistError.hxx" #include "PlaylistError.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "config.h" #include "config.h"
#include "QueueCommands.hxx" #include "QueueCommands.hxx"
#include "Request.hxx" #include "Request.hxx"
#include "CommandError.hxx"
#include "protocol/RangeArg.hxx" #include "protocol/RangeArg.hxx"
#include "db/DatabaseQueue.hxx" #include "db/DatabaseQueue.hxx"
#include "db/Selection.hxx" #include "db/Selection.hxx"
...@@ -40,7 +39,6 @@ ...@@ -40,7 +39,6 @@
#include "util/StringAPI.hxx" #include "util/StringAPI.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include <memory>
#include <limits> #include <limits>
static void static void
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "sticker/Sticker.hxx" #include "sticker/Sticker.hxx"
#include "sticker/SongSticker.hxx" #include "sticker/SongSticker.hxx"
#include "sticker/Print.hxx" #include "sticker/Print.hxx"
#include "sticker/Database.hxx"
#include "client/Client.hxx" #include "client/Client.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
#include "Partition.hxx" #include "Partition.hxx"
......
...@@ -22,14 +22,12 @@ ...@@ -22,14 +22,12 @@
#include "config.h" #include "config.h"
#include "StorageCommands.hxx" #include "StorageCommands.hxx"
#include "Request.hxx" #include "Request.hxx"
#include "CommandError.hxx"
#include "time/ChronoUtil.hxx" #include "time/ChronoUtil.hxx"
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#include "client/Client.hxx" #include "client/Client.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
#include "Partition.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "storage/Registry.hxx" #include "storage/Registry.hxx"
#include "storage/CompositeStorage.hxx" #include "storage/CompositeStorage.hxx"
...@@ -37,7 +35,7 @@ ...@@ -37,7 +35,7 @@
#include "db/plugins/simple/SimpleDatabasePlugin.hxx" #include "db/plugins/simple/SimpleDatabasePlugin.hxx"
#include "db/update/Service.hxx" #include "db/update/Service.hxx"
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "Idle.hxx" #include "IdleFlags.hxx"
#include <memory> #include <memory>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include "client/Client.hxx" #include "client/Client.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
#include "tag/ParseName.hxx" #include "tag/ParseName.hxx"
#include "Partition.hxx" #include "queue/Playlist.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
CommandResult CommandResult
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include <assert.h>
#include <stdlib.h> #include <stdlib.h>
void void
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#ifndef MPD_CONFIG_BLOCK_HXX #ifndef MPD_CONFIG_BLOCK_HXX
#define MPD_CONFIG_BLOCK_HXX #define MPD_CONFIG_BLOCK_HXX
#include "Param.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <string> #include <string>
......
...@@ -20,9 +20,6 @@ ...@@ -20,9 +20,6 @@
#ifndef MPD_CONFIG_CHECK_HXX #ifndef MPD_CONFIG_CHECK_HXX
#define MPD_CONFIG_CHECK_HXX #define MPD_CONFIG_CHECK_HXX
#include "Option.hxx"
#include "util/Compiler.h"
struct ConfigData; struct ConfigData;
/** /**
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#include <chrono> #include <chrono>
#include <forward_list> #include <forward_list>
struct ConfigParam;
struct ConfigBlock;
class AllocatedPath; class AllocatedPath;
struct ConfigData { struct ConfigData {
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "Data.hxx" #include "Data.hxx"
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#include "fs/Domain.hxx"
#include "fs/StandardDirectory.hxx" #include "fs/StandardDirectory.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "DatabaseGlue.hxx" #include "DatabaseGlue.hxx"
#include "Interface.hxx" #include "Interface.hxx"
#include "Registry.hxx" #include "Registry.hxx"
#include "DatabaseError.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "DatabasePlugin.hxx" #include "DatabasePlugin.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "DatabasePlaylist.hxx" #include "DatabasePlaylist.hxx"
#include "DatabaseSong.hxx" #include "DatabaseSong.hxx"
#include "Selection.hxx"
#include "PlaylistFile.hxx" #include "PlaylistFile.hxx"
#include "Interface.hxx" #include "Interface.hxx"
#include "song/DetachedSong.hxx" #include "song/DetachedSong.hxx"
......
...@@ -21,15 +21,10 @@ ...@@ -21,15 +21,10 @@
#include "Selection.hxx" #include "Selection.hxx"
#include "SongPrint.hxx" #include "SongPrint.hxx"
#include "TimePrint.hxx" #include "TimePrint.hxx"
#include "TagPrint.hxx"
#include "client/Response.hxx" #include "client/Response.hxx"
#include "protocol/RangeArg.hxx"
#include "Partition.hxx" #include "Partition.hxx"
#include "song/DetachedSong.hxx"
#include "song/Filter.hxx"
#include "song/LightSong.hxx" #include "song/LightSong.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "tag/Mask.hxx"
#include "LightDirectory.hxx" #include "LightDirectory.hxx"
#include "PlaylistInfo.hxx" #include "PlaylistInfo.hxx"
#include "Interface.hxx" #include "Interface.hxx"
......
...@@ -24,10 +24,8 @@ ...@@ -24,10 +24,8 @@
template<typename T> struct ConstBuffer; template<typename T> struct ConstBuffer;
enum TagType : uint8_t; enum TagType : uint8_t;
class TagMask;
class SongFilter; class SongFilter;
struct DatabaseSelection; struct DatabaseSelection;
struct RangeArg;
struct Partition; struct Partition;
class Response; class Response;
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef MPD_DATABASE_SONG_HXX #ifndef MPD_DATABASE_SONG_HXX
#define MPD_DATABASE_SONG_HXX #define MPD_DATABASE_SONG_HXX
#include "util/Compiler.h"
struct LightSong; struct LightSong;
class Database; class Database;
class Storage; class Storage;
......
...@@ -22,11 +22,8 @@ ...@@ -22,11 +22,8 @@
#include "tag/Type.h" #include "tag/Type.h"
#include <map>
#include <set>
#include <string> #include <string>
class TagMask;
class Database; class Database;
struct DatabaseSelection; struct DatabaseSelection;
template<typename Key> class RecursiveMap; template<typename Key> class RecursiveMap;
......
...@@ -18,9 +18,12 @@ ...@@ -18,9 +18,12 @@
*/ */
#include "VHelper.hxx" #include "VHelper.hxx"
#include "song/DetachedSong.hxx"
#include "song/LightSong.hxx" #include "song/LightSong.hxx"
#include "song/Filter.hxx" #include "song/Filter.hxx"
#include <algorithm>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "Visitor.hxx" #include "Visitor.hxx"
#include "Selection.hxx" #include "Selection.hxx"
#include "song/DetachedSong.hxx"
#include <vector> #include <vector>
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include "config/Block.hxx" #include "config/Block.hxx"
#include "tag/Builder.hxx" #include "tag/Builder.hxx"
#include "tag/Tag.hxx" #include "tag/Tag.hxx"
#include "tag/Mask.hxx"
#include "tag/ParseName.hxx" #include "tag/ParseName.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/RecursiveMap.hxx" #include "util/RecursiveMap.hxx"
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "DatabaseSave.hxx" #include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx" #include "db/DatabaseLock.hxx"
#include "Directory.hxx"
#include "DirectorySave.hxx" #include "DirectorySave.hxx"
#include "fs/io/BufferedOutputStream.hxx" #include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/TextFile.hxx" #include "fs/io/TextFile.hxx"
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "DatabaseSave.hxx" #include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx" #include "db/DatabaseLock.hxx"
#include "db/DatabaseError.hxx" #include "db/DatabaseError.hxx"
#include "tag/Mask.hxx"
#include "fs/io/TextFile.hxx" #include "fs/io/TextFile.hxx"
#include "fs/io/BufferedOutputStream.hxx" #include "fs/io/BufferedOutputStream.hxx"
#include "fs/io/FileOutputStream.hxx" #include "fs/io/FileOutputStream.hxx"
......
...@@ -23,13 +23,10 @@ ...@@ -23,13 +23,10 @@
#include "lib/upnp/Action.hxx" #include "lib/upnp/Action.hxx"
#include "Directory.hxx" #include "Directory.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/UriUtil.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/StringFormat.hxx" #include "util/StringFormat.hxx"
#include <stdio.h>
static void static void
ReadResultTag(UPnPDirContent &dirbuf, IXML_Document *response) ReadResultTag(UPnPDirContent &dirbuf, IXML_Document *response)
{ {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
*/ */
#include "Directory.hxx" #include "Directory.hxx"
#include "lib/upnp/Util.hxx"
#include "lib/expat/ExpatParser.hxx" #include "lib/expat/ExpatParser.hxx"
#include "Tags.hxx" #include "Tags.hxx"
#include "tag/Builder.hxx" #include "tag/Builder.hxx"
......
...@@ -34,12 +34,8 @@ ...@@ -34,12 +34,8 @@
#include "song/Filter.hxx" #include "song/Filter.hxx"
#include "song/TagSongFilter.hxx" #include "song/TagSongFilter.hxx"
#include "db/Stats.hxx" #include "db/Stats.hxx"
#include "config/Block.hxx"
#include "tag/Builder.hxx"
#include "tag/Table.hxx" #include "tag/Table.hxx"
#include "tag/Mask.hxx"
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#include "Log.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/RecursiveMap.hxx" #include "util/RecursiveMap.hxx"
#include "util/SplitString.hxx" #include "util/SplitString.hxx"
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define MPD_UPDATE_DATABASE_HXX #define MPD_UPDATE_DATABASE_HXX
#include "Remove.hxx" #include "Remove.hxx"
#include "util/Compiler.h"
struct Directory; struct Directory;
struct Song; struct Song;
......
...@@ -27,13 +27,9 @@ ...@@ -27,13 +27,9 @@
#include "fs/NarrowPath.hxx" #include "fs/NarrowPath.hxx"
#include "input/TextInputStream.hxx" #include "input/TextInputStream.hxx"
#include "util/StringStrip.hxx" #include "util/StringStrip.hxx"
#include "Log.hxx"
#include "config.h" #include "config.h"
#include <exception>
#include <assert.h> #include <assert.h>
#include <string.h>
#ifdef HAVE_CLASS_GLOB #ifdef HAVE_CLASS_GLOB
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "Log.hxx" #include "Log.hxx"
#include <sys/inotify.h> #include <sys/inotify.h>
#include <unistd.h>
#include <errno.h> #include <errno.h>
#include <stdint.h> #include <stdint.h>
#include <limits.h> #include <limits.h>
......
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
#define MPD_INOTIFY_SOURCE_HXX #define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx" #include "event/SocketMonitor.hxx"
#include "util/Compiler.h"
class FileDescriptor;
typedef void (*mpd_inotify_callback_t)(int wd, unsigned mask, typedef void (*mpd_inotify_callback_t)(int wd, unsigned mask,
const char *name, void *ctx); const char *name, void *ctx);
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef MPD_INOTIFY_UPDATE_HXX #ifndef MPD_INOTIFY_UPDATE_HXX
#define MPD_INOTIFY_UPDATE_HXX #define MPD_INOTIFY_UPDATE_HXX
#include "util/Compiler.h"
class EventLoop; class EventLoop;
class Storage; class Storage;
class UpdateService; class UpdateService;
......
...@@ -22,12 +22,10 @@ ...@@ -22,12 +22,10 @@
#include "event/DeferEvent.hxx" #include "event/DeferEvent.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "util/Compiler.h"
#include <forward_list> #include <forward_list>
#include <string> #include <string>
struct Song;
class DatabaseListener; class DatabaseListener;
/** /**
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "Log.hxx" #include "Log.hxx"
#include <stdexcept>
#include <errno.h> #include <errno.h>
bool bool
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "Log.hxx" #include "Log.hxx"
#include <stdexcept> #include <exception>
#include <memory> #include <memory>
#include <assert.h> #include <assert.h>
......
...@@ -44,8 +44,6 @@ ...@@ -44,8 +44,6 @@
#include <stdint.h> #include <stdint.h>
class DecoderClient;
/** /**
* Throw an instance of this class to stop decoding the current song * Throw an instance of this class to stop decoding the current song
* (successfully). It can be used to jump out of all of a decoder's * (successfully). It can be used to jump out of all of a decoder's
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#define MPD_DECODER_READER_HXX #define MPD_DECODER_READER_HXX
#include "fs/io/Reader.hxx" #include "fs/io/Reader.hxx"
#include "util/Compiler.h"
class DecoderClient; class DecoderClient;
class InputStream; class InputStream;
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
#include "util/ScopeExit.hxx" #include "util/ScopeExit.hxx"
#include "util/StringCompare.hxx"
#include "thread/Name.hxx" #include "thread/Name.hxx"
#include "tag/ApeReplayGain.hxx" #include "tag/ApeReplayGain.hxx"
#include "Log.hxx" #include "Log.hxx"
......
...@@ -33,8 +33,6 @@ ...@@ -33,8 +33,6 @@
#include <id3tag.h> #include <id3tag.h>
#endif #endif
#include <stdexcept>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include "util/StringView.hxx" #include "util/StringView.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "DsdLib.hxx" #include "DsdLib.hxx"
#include "Log.hxx"
struct DsdiffHeader { struct DsdiffHeader {
DsdId id; DsdId id;
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "DsdLib.hxx" #include "DsdLib.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "Log.hxx"
#include <string.h> #include <string.h>
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
#include <neaacdec.h> #include <neaacdec.h>
#include <cmath> #include <cmath>
#include <exception>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include "FfmpegDecoderPlugin.hxx" #include "FfmpegDecoderPlugin.hxx"
#include "lib/ffmpeg/Domain.hxx" #include "lib/ffmpeg/Domain.hxx"
#include "lib/ffmpeg/Error.hxx" #include "lib/ffmpeg/Error.hxx"
#include "lib/ffmpeg/LogError.hxx"
#include "lib/ffmpeg/Init.hxx" #include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Buffer.hxx" #include "lib/ffmpeg/Buffer.hxx"
#include "lib/ffmpeg/Frame.hxx" #include "lib/ffmpeg/Frame.hxx"
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include <exception>
AvioStream::~AvioStream() AvioStream::~AvioStream()
{ {
if (io != nullptr) { if (io != nullptr) {
......
...@@ -21,10 +21,8 @@ ...@@ -21,10 +21,8 @@
#include "MadDecoderPlugin.hxx" #include "MadDecoderPlugin.hxx"
#include "../DecoderAPI.hxx" #include "../DecoderAPI.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include "config/Block.hxx"
#include "tag/Id3Scan.hxx" #include "tag/Id3Scan.hxx"
#include "tag/Id3ReplayGain.hxx" #include "tag/Id3ReplayGain.hxx"
#include "tag/Rva2.hxx"
#include "tag/Handler.hxx" #include "tag/Handler.hxx"
#include "tag/ReplayGain.hxx" #include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx" #include "tag/MixRamp.hxx"
...@@ -40,8 +38,6 @@ ...@@ -40,8 +38,6 @@
#include <id3tag.h> #include <id3tag.h>
#endif #endif
#include <stdexcept>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
#include <mpc/mpcdec.h> #include <mpc/mpcdec.h>
#include <exception>
#include <math.h> #include <math.h>
struct mpc_decoder_data { struct mpc_decoder_data {
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#include "lib/xiph/OggFind.hxx" #include "lib/xiph/OggFind.hxx"
#include "input/InputStream.hxx" #include "input/InputStream.hxx"
#include <exception>
/** /**
* Load the end-of-stream packet and restore the previous file * Load the end-of-stream packet and restore the previous file
* position. * position.
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/StringView.hxx" #include "util/StringView.hxx"
#include <string>
#include <stdint.h> #include <stdint.h>
gcc_pure gcc_pure
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <exception> #include <exception>
#include <assert.h>
#include <string.h> #include <string.h>
static constexpr Domain pcm_decoder_domain("pcm_decoder"); static constexpr Domain pcm_decoder_domain("pcm_decoder");
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <wavpack/wavpack.h> #include <wavpack/wavpack.h>
#include <stdexcept> #include <algorithm>
#include <memory> #include <memory>
#include <cstdlib> #include <cstdlib>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "fs/AllocatedPath.hxx" #include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx" #include "fs/FileSystem.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx" #include "PluginUnavailable.hxx"
extern "C" { extern "C" {
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "pcm/Buffer.hxx" #include "pcm/Buffer.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx" #include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "LameEncoderPlugin.hxx" #include "LameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/ReusableArray.hxx" #include "util/ReusableArray.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "OpusEncoderPlugin.hxx" #include "OpusEncoderPlugin.hxx"
#include "OggEncoder.hxx" #include "OggEncoder.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/ByteOrder.hxx" #include "util/ByteOrder.hxx"
#include "util/StringUtil.hxx" #include "util/StringUtil.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "ShineEncoderPlugin.hxx" #include "ShineEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/DynamicFifoBuffer.hxx" #include "util/DynamicFifoBuffer.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "TwolameEncoderPlugin.hxx" #include "TwolameEncoderPlugin.hxx"
#include "../EncoderAPI.hxx" #include "../EncoderAPI.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "config/Domain.hxx"
#include "util/NumberParser.hxx" #include "util/NumberParser.hxx"
#include "util/RuntimeError.hxx" #include "util/RuntimeError.hxx"
#include "util/Domain.hxx" #include "util/Domain.hxx"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "net/SocketError.hxx" #include "net/SocketError.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
#include <algorithm> #include <stdexcept>
BufferedSocket::ssize_t BufferedSocket::ssize_t
BufferedSocket::DirectRead(void *data, size_t length) noexcept BufferedSocket::DirectRead(void *data, size_t length) noexcept
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "DeferEvent.hxx" #include "DeferEvent.hxx"
#include "thread/Mutex.hxx" #include "thread/Mutex.hxx"
#include "thread/Cond.hxx" #include "thread/Cond.hxx"
#include "util/Compiler.h"
#include <exception> #include <exception>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "IdleMonitor.hxx" #include "IdleMonitor.hxx"
#include "TimerEvent.hxx" #include "TimerEvent.hxx"
#include "SocketMonitor.hxx" #include "SocketMonitor.hxx"
#include "util/Compiler.h"
#include <forward_list> #include <forward_list>
#include <iterator> #include <iterator>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "net/IPv6Address.hxx" #include "net/IPv6Address.hxx"
#include "net/StaticSocketAddress.hxx" #include "net/StaticSocketAddress.hxx"
#include "net/AllocatedSocketAddress.hxx" #include "net/AllocatedSocketAddress.hxx"
#include "net/SocketAddress.hxx"
#include "net/SocketUtil.hxx" #include "net/SocketUtil.hxx"
#include "net/SocketError.hxx" #include "net/SocketError.hxx"
#include "net/UniqueSocketDescriptor.hxx" #include "net/UniqueSocketDescriptor.hxx"
...@@ -37,7 +36,7 @@ ...@@ -37,7 +36,7 @@
#include "Log.hxx" #include "Log.hxx"
#include <string> #include <string>
#include <algorithm> #include <utility>
#include <assert.h> #include <assert.h>
......
...@@ -20,13 +20,9 @@ ...@@ -20,13 +20,9 @@
#include "SocketMonitor.hxx" #include "SocketMonitor.hxx"
#include "Loop.hxx" #include "Loop.hxx"
#include <assert.h> #include <utility>
#ifdef _WIN32 #include <assert.h>
#include <winsock2.h>
#else
#include <sys/socket.h>
#endif
void void
SocketMonitor::Dispatch(unsigned flags) noexcept SocketMonitor::Dispatch(unsigned flags) noexcept
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "AutoConvertFilterPlugin.hxx" #include "AutoConvertFilterPlugin.hxx"
#include "ConvertFilterPlugin.hxx" #include "ConvertFilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
......
...@@ -21,11 +21,9 @@ ...@@ -21,11 +21,9 @@
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "pcm/Convert.hxx" #include "pcm/Convert.hxx"
#include "util/Manual.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include <stdexcept>
#include <memory> #include <memory>
#include <assert.h> #include <assert.h>
......
...@@ -22,10 +22,8 @@ ...@@ -22,10 +22,8 @@
#include "filter/FilterPlugin.hxx" #include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx" #include "filter/Filter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "lib/ffmpeg/Filter.hxx" #include "lib/ffmpeg/Filter.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "AudioFormat.hxx"
class PreparedFfmpegFilter final : public PreparedFilter { class PreparedFfmpegFilter final : public PreparedFilter {
const char *const graph_string; const char *const graph_string;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include "filter/FilterPlugin.hxx" #include "filter/FilterPlugin.hxx"
#include "filter/NullFilter.hxx" #include "filter/NullFilter.hxx"
#include "filter/Prepared.hxx" #include "filter/Prepared.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h" #include "util/Compiler.h"
class PreparedNullFilter final : public PreparedFilter { class PreparedNullFilter final : public PreparedFilter {
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
*/ */
#include "RouteFilterPlugin.hxx" #include "RouteFilterPlugin.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx" #include "config/Block.hxx"
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx" #include "filter/FilterPlugin.hxx"
...@@ -53,8 +52,8 @@ ...@@ -53,8 +52,8 @@
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include "util/WritableBuffer.hxx" #include "util/WritableBuffer.hxx"
#include <algorithm>
#include <array> #include <array>
#include <stdexcept>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
......
...@@ -24,8 +24,6 @@ ...@@ -24,8 +24,6 @@
#include "AudioFormat.hxx" #include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx" #include "util/ConstBuffer.hxx"
#include <stdexcept>
class VolumeFilter final : public Filter { class VolumeFilter final : public Filter {
PcmVolume pv; PcmVolume pv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment