*: 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
-1
View File
@@ -21,7 +21,6 @@
#include "AsyncInputStream.hxx"
#include "Domain.hxx"
#include "tag/Tag.hxx"
#include "event/Call.hxx"
#include "thread/Cond.hxx"
#include "IOThread.hxx"
#include "util/HugeAllocator.hxx"
-1
View File
@@ -28,7 +28,6 @@
#include "Log.hxx"
#include <assert.h>
#include <string.h>
bool
input_stream_global_init(Error &error)
-1
View File
@@ -29,7 +29,6 @@
#include <string>
#include <assert.h>
#include <stdint.h>
class Cond;
class Error;
-2
View File
@@ -25,10 +25,8 @@
#include "Domain.hxx"
#include "plugins/RewindInputPlugin.hxx"
#include "fs/Traits.hxx"
#include "fs/Path.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
InputStreamPtr
InputStream::Open(const char *url,
-3
View File
@@ -19,9 +19,6 @@
#include "config.h"
#include "ProxyInputStream.hxx"
#include "tag/Tag.hxx"
#include <assert.h>
ProxyInputStream::ProxyInputStream(InputStream *_input)
:InputStream(_input->GetURI(), _input->mutex, _input->cond),
-2
View File
@@ -23,8 +23,6 @@
#include "input/Ptr.hxx"
#include "util/StaticFifoBuffer.hxx"
class InputStream;
class TextInputStream {
InputStreamPtr is;
StaticFifoBuffer<char, 4096> buffer;
-1
View File
@@ -36,7 +36,6 @@
#include "Log.hxx"
#include "event/MultiSocketMonitor.hxx"
#include "event/DeferredMonitor.hxx"
#include "event/Call.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "IOThread.hxx"
-2
View File
@@ -25,9 +25,7 @@
#include "archive/ArchivePlugin.hxx"
#include "archive/ArchiveFile.hxx"
#include "../InputPlugin.hxx"
#include "fs/Traits.hxx"
#include "fs/Path.hxx"
#include "util/Alloc.hxx"
#include "Log.hxx"
#include <stdlib.h>
@@ -37,7 +37,6 @@
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
-2
View File
@@ -24,7 +24,6 @@
#include "../InputPlugin.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/Block.hxx"
#include "tag/Tag.hxx"
#include "tag/TagBuilder.hxx"
#include "event/SocketMonitor.hxx"
#include "event/TimeoutMonitor.hxx"
@@ -33,7 +32,6 @@
#include "util/ASCII.hxx"
#include "util/StringUtil.hxx"
#include "util/NumberParser.hxx"
#include "util/CircularBuffer.hxx"
#include "util/HugeAllocator.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
-1
View File
@@ -30,7 +30,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
static constexpr Domain file_domain("file");
-2
View File
@@ -29,8 +29,6 @@
#include "util/Error.hxx"
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
/**
* Do not buffer more than this number of bytes. It should be a