*: include cleanup (using iwyu)
This commit is contained in:
@@ -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"
|
||||
|
@@ -28,7 +28,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
bool
|
||||
input_stream_global_init(Error &error)
|
||||
|
@@ -29,7 +29,6 @@
|
||||
#include <string>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
class Cond;
|
||||
class Error;
|
||||
|
@@ -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,
|
||||
|
@@ -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),
|
||||
|
@@ -23,8 +23,6 @@
|
||||
#include "input/Ptr.hxx"
|
||||
#include "util/StaticFifoBuffer.hxx"
|
||||
|
||||
class InputStream;
|
||||
|
||||
class TextInputStream {
|
||||
InputStreamPtr is;
|
||||
StaticFifoBuffer<char, 4096> buffer;
|
||||
|
@@ -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"
|
||||
|
@@ -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>
|
||||
|
@@ -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"
|
||||
|
@@ -30,7 +30,6 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
static constexpr Domain file_domain("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
|
||||
|
Reference in New Issue
Block a user