summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/AsyncInputStream.cxx1
-rw-r--r--src/input/Init.cxx1
-rw-r--r--src/input/InputStream.hxx1
-rw-r--r--src/input/Open.cxx2
-rw-r--r--src/input/ProxyInputStream.cxx3
-rw-r--r--src/input/TextInputStream.hxx2
-rw-r--r--src/input/plugins/AlsaInputPlugin.cxx1
-rw-r--r--src/input/plugins/ArchiveInputPlugin.cxx2
-rw-r--r--src/input/plugins/CdioParanoiaInputPlugin.cxx1
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx2
-rw-r--r--src/input/plugins/FileInputPlugin.cxx1
-rw-r--r--src/input/plugins/NfsInputPlugin.cxx2
12 files changed, 0 insertions, 19 deletions
diff --git a/src/input/AsyncInputStream.cxx b/src/input/AsyncInputStream.cxx
index 98a85f045..308214f2b 100644
--- a/src/input/AsyncInputStream.cxx
+++ b/src/input/AsyncInputStream.cxx
@@ -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"
diff --git a/src/input/Init.cxx b/src/input/Init.cxx
index cc54c482e..a3cc55451 100644
--- a/src/input/Init.cxx
+++ b/src/input/Init.cxx
@@ -28,7 +28,6 @@
#include "Log.hxx"
#include <assert.h>
-#include <string.h>
bool
input_stream_global_init(Error &error)
diff --git a/src/input/InputStream.hxx b/src/input/InputStream.hxx
index d3fa604c1..aabbc8ef5 100644
--- a/src/input/InputStream.hxx
+++ b/src/input/InputStream.hxx
@@ -29,7 +29,6 @@
#include <string>
#include <assert.h>
-#include <stdint.h>
class Cond;
class Error;
diff --git a/src/input/Open.cxx b/src/input/Open.cxx
index 3701fb8a6..cb4b932f3 100644
--- a/src/input/Open.cxx
+++ b/src/input/Open.cxx
@@ -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,
diff --git a/src/input/ProxyInputStream.cxx b/src/input/ProxyInputStream.cxx
index 3eb9477a3..d0d0e99bd 100644
--- a/src/input/ProxyInputStream.cxx
+++ b/src/input/ProxyInputStream.cxx
@@ -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),
diff --git a/src/input/TextInputStream.hxx b/src/input/TextInputStream.hxx
index 9edf2b82e..0566a63f3 100644
--- a/src/input/TextInputStream.hxx
+++ b/src/input/TextInputStream.hxx
@@ -23,8 +23,6 @@
#include "input/Ptr.hxx"
#include "util/StaticFifoBuffer.hxx"
-class InputStream;
-
class TextInputStream {
InputStreamPtr is;
StaticFifoBuffer<char, 4096> buffer;
diff --git a/src/input/plugins/AlsaInputPlugin.cxx b/src/input/plugins/AlsaInputPlugin.cxx
index 7a96ade1d..85b61ee10 100644
--- a/src/input/plugins/AlsaInputPlugin.cxx
+++ b/src/input/plugins/AlsaInputPlugin.cxx
@@ -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"
diff --git a/src/input/plugins/ArchiveInputPlugin.cxx b/src/input/plugins/ArchiveInputPlugin.cxx
index 35a7f6925..8d83fa3f4 100644
--- a/src/input/plugins/ArchiveInputPlugin.cxx
+++ b/src/input/plugins/ArchiveInputPlugin.cxx
@@ -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>
diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx
index a56929fd6..6f71bfe4d 100644
--- a/src/input/plugins/CdioParanoiaInputPlugin.cxx
+++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx
@@ -37,7 +37,6 @@
#include <stdio.h>
#include <stdint.h>
-#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx
index fcd1307ba..d3872aa39 100644
--- a/src/input/plugins/CurlInputPlugin.cxx
+++ b/src/input/plugins/CurlInputPlugin.cxx
@@ -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"
diff --git a/src/input/plugins/FileInputPlugin.cxx b/src/input/plugins/FileInputPlugin.cxx
index dc35112f3..1d5eaf90e 100644
--- a/src/input/plugins/FileInputPlugin.cxx
+++ b/src/input/plugins/FileInputPlugin.cxx
@@ -30,7 +30,6 @@
#include <sys/stat.h>
#include <fcntl.h>
-#include <errno.h>
static constexpr Domain file_domain("file");
diff --git a/src/input/plugins/NfsInputPlugin.cxx b/src/input/plugins/NfsInputPlugin.cxx
index a886885fa..bb397e1fc 100644
--- a/src/input/plugins/NfsInputPlugin.cxx
+++ b/src/input/plugins/NfsInputPlugin.cxx
@@ -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