diff options
author | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-01 22:08:13 +0100 |
commit | 1aee89f5ea603d24991c73e2479472577aa28d66 (patch) | |
tree | 5ac6038804aa63c3c9a22c613efd734fa5d688fd /src/event | |
parent | fb547260d1b992b64c0ffd78e3bc55db86f90bda (diff) |
*: include cleanup (using iwyu)
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/FullyBufferedSocket.cxx | 6 | ||||
-rw-r--r-- | src/event/Loop.hxx | 1 | ||||
-rw-r--r-- | src/event/ServerSocket.cxx | 5 | ||||
-rw-r--r-- | src/event/ServerSocket.hxx | 2 | ||||
-rw-r--r-- | src/event/SignalMonitor.cxx | 1 | ||||
-rw-r--r-- | src/event/SocketMonitor.cxx | 1 |
6 files changed, 0 insertions, 16 deletions
diff --git a/src/event/FullyBufferedSocket.cxx b/src/event/FullyBufferedSocket.cxx index 804986c33..21a038044 100644 --- a/src/event/FullyBufferedSocket.cxx +++ b/src/event/FullyBufferedSocket.cxx @@ -25,14 +25,8 @@ #include "Compiler.h" #include <assert.h> -#include <stdint.h> #include <string.h> -#ifndef WIN32 -#include <sys/types.h> -#include <sys/socket.h> -#endif - FullyBufferedSocket::ssize_t FullyBufferedSocket::DirectWrite(const void *data, size_t length) { diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index 1d08b67e5..3232aaa41 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -35,7 +35,6 @@ class TimeoutMonitor; class IdleMonitor; class DeferredMonitor; -class SocketMonitor; #include <assert.h> diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx index 3cd2ced47..608ee65e2 100644 --- a/src/event/ServerSocket.cxx +++ b/src/event/ServerSocket.cxx @@ -30,7 +30,6 @@ #include "system/fd_util.h" #include "fs/AllocatedPath.hxx" #include "fs/FileSystem.hxx" -#include "util/Alloc.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" #include "Log.hxx" @@ -38,12 +37,9 @@ #include <string> #include <algorithm> -#include <sys/types.h> #include <sys/stat.h> -#include <fcntl.h> #include <string.h> #include <unistd.h> -#include <stdlib.h> #include <assert.h> #ifdef WIN32 @@ -52,7 +48,6 @@ #else #include <netinet/in.h> #include <sys/socket.h> -#include <sys/un.h> #include <netdb.h> #endif diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx index eb996b2b6..252dad66f 100644 --- a/src/event/ServerSocket.hxx +++ b/src/event/ServerSocket.hxx @@ -22,8 +22,6 @@ #include <list> -#include <stddef.h> - class SocketAddress; class AllocatedSocketAddress; class EventLoop; diff --git a/src/event/SignalMonitor.cxx b/src/event/SignalMonitor.cxx index 7a3b03faf..0e1f4b4f4 100644 --- a/src/event/SignalMonitor.cxx +++ b/src/event/SignalMonitor.cxx @@ -22,7 +22,6 @@ #ifndef WIN32 -#include "WakeFD.hxx" #include "SocketMonitor.hxx" #include "util/Manual.hxx" #include "system/FatalError.hxx" diff --git a/src/event/SocketMonitor.cxx b/src/event/SocketMonitor.cxx index 7665aa215..b54ccc81c 100644 --- a/src/event/SocketMonitor.cxx +++ b/src/event/SocketMonitor.cxx @@ -21,7 +21,6 @@ #include "SocketMonitor.hxx" #include "Loop.hxx" #include "system/fd_util.h" -#include "Compiler.h" #include <assert.h> |