*: include cleanup (using iwyu)

This commit is contained in:
Max Kellermann
2016-03-01 22:08:13 +01:00
parent fb547260d1
commit 1aee89f5ea
181 changed files with 18 additions and 390 deletions

View File

@@ -21,8 +21,6 @@
#include "DecoderBuffer.hxx"
#include "DecoderAPI.hxx"
#include <assert.h>
bool
DecoderBuffer::Fill()
{

View File

@@ -29,6 +29,8 @@
#include "Chrono.hxx"
#include "util/Error.hxx"
#include <utility>
#include <assert.h>
#include <stdint.h>

View File

@@ -23,7 +23,6 @@
#include "input/InputStream.hxx"
#include "CheckAudioFormat.hxx"
#include "tag/TagHandler.hxx"
#include "fs/Path.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"

View File

@@ -29,7 +29,6 @@
#include "input/InputStream.hxx"
#include "tag/TagId3.hxx"
#include "util/Error.hxx"
#include "util/Alloc.hxx"
#include <string.h>
#include <stdlib.h>

View File

@@ -24,7 +24,6 @@
#include "input/Offset.hxx"
#include "Compiler.h"
#include <stddef.h>
#include <stdint.h>
struct Decoder;

View File

@@ -33,7 +33,6 @@
#include <assert.h>
#include <string.h>
#include <unistd.h>
static const unsigned adts_sample_rates[] =
{ 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050,

View File

@@ -40,7 +40,6 @@
#include "CheckAudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "LogV.hxx"
extern "C" {
@@ -48,7 +47,6 @@ extern "C" {
#include <libavformat/avformat.h>
#include <libavformat/avio.h>
#include <libavutil/avutil.h>
#include <libavutil/log.h>
#if LIBAVUTIL_VERSION_MAJOR >= 53
#include <libavutil/frame.h>

View File

@@ -29,7 +29,6 @@
#include "tag/ReplayGain.hxx"
#include "tag/MixRamp.hxx"
#include "ReplayGainInfo.hxx"
#include "util/ASCII.hxx"
#include "util/DivideString.hxx"
bool

View File

@@ -25,8 +25,6 @@
#include <FLAC/metadata.h>
#include <assert.h>
struct TagHandler;
class MixRampInfo;

View File

@@ -25,7 +25,6 @@
#include "tag/TagHandler.hxx"
#include "fs/Path.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Alloc.hxx"
#include "util/FormatString.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"

View File

@@ -29,7 +29,6 @@
#include "tag/MixRamp.hxx"
#include "CheckAudioFormat.hxx"
#include "util/StringCompare.hxx"
#include "util/ASCII.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"

View File

@@ -36,7 +36,6 @@
#include <ogg/ogg.h>
#include <string.h>
#include <stdio.h>
static constexpr opus_int32 opus_sample_rate = 48000;

View File

@@ -26,12 +26,8 @@
#include "tag/VorbisComment.hxx"
#include "tag/ReplayGain.hxx"
#include "ReplayGainInfo.hxx"
#include "util/ASCII.hxx"
#include "util/DivideString.hxx"
#include <stddef.h>
#include <stdlib.h>
bool
vorbis_comments_to_replay_gain(ReplayGainInfo &rgi, char **comments)
{