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

View File

@@ -33,8 +33,6 @@
#include <id3tag.h>
#endif
#include <stdexcept>
#include <string.h>
#include <stdlib.h>

View File

@@ -36,7 +36,6 @@
#include "util/StringView.hxx"
#include "tag/Handler.hxx"
#include "DsdLib.hxx"
#include "Log.hxx"
struct DsdiffHeader {
DsdId id;

View File

@@ -36,7 +36,6 @@
#include "util/ByteOrder.hxx"
#include "DsdLib.hxx"
#include "tag/Handler.hxx"
#include "Log.hxx"
#include <string.h>

View File

@@ -31,7 +31,6 @@
#include <neaacdec.h>
#include <cmath>
#include <exception>
#include <assert.h>
#include <string.h>

View File

@@ -24,7 +24,6 @@
#include "FfmpegDecoderPlugin.hxx"
#include "lib/ffmpeg/Domain.hxx"
#include "lib/ffmpeg/Error.hxx"
#include "lib/ffmpeg/LogError.hxx"
#include "lib/ffmpeg/Init.hxx"
#include "lib/ffmpeg/Buffer.hxx"
#include "lib/ffmpeg/Frame.hxx"

View File

@@ -24,8 +24,6 @@
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include <exception>
AvioStream::~AvioStream()
{
if (io != nullptr) {

View File

@@ -21,10 +21,8 @@
#include "MadDecoderPlugin.hxx"
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "config/Block.hxx"
#include "tag/Id3Scan.hxx"
#include "tag/Id3ReplayGain.hxx"
#include "tag/Rva2.hxx"
#include "tag/Handler.hxx"
#include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx"
@@ -40,8 +38,6 @@
#include <id3tag.h>
#endif
#include <stdexcept>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>

View File

@@ -31,8 +31,6 @@
#include <mpc/mpcdec.h>
#include <exception>
#include <math.h>
struct mpc_decoder_data {

View File

@@ -21,8 +21,6 @@
#include "lib/xiph/OggFind.hxx"
#include "input/InputStream.hxx"
#include <exception>
/**
* Load the end-of-stream packet and restore the previous file
* position.

View File

@@ -26,8 +26,6 @@
#include "util/NumberParser.hxx"
#include "util/StringView.hxx"
#include <string>
#include <stdint.h>
gcc_pure

View File

@@ -38,7 +38,6 @@
#include <exception>
#include <assert.h>
#include <string.h>
static constexpr Domain pcm_decoder_domain("pcm_decoder");

View File

@@ -31,7 +31,7 @@
#include <wavpack/wavpack.h>
#include <stdexcept>
#include <algorithm>
#include <memory>
#include <cstdlib>

View File

@@ -25,7 +25,6 @@
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
#include "fs/Path.hxx"
#include "Log.hxx"
#include "PluginUnavailable.hxx"
extern "C" {