include cleanups (powered by iwyu)

This commit is contained in:
Max Kellermann
2019-07-05 09:59:00 +02:00
parent 9cdebc90a0
commit d663f81420
229 changed files with 67 additions and 397 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#include "net/SocketError.hxx"
#include "util/Compiler.h"
#include <algorithm>
#include <stdexcept>
BufferedSocket::ssize_t
BufferedSocket::DirectRead(void *data, size_t length) noexcept
-1
View File
@@ -22,7 +22,6 @@
#include "DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include "util/Compiler.h"
#include <exception>
-1
View File
@@ -23,7 +23,6 @@
#include "IdleMonitor.hxx"
#include "TimerEvent.hxx"
#include "SocketMonitor.hxx"
#include "util/Compiler.h"
#include <forward_list>
#include <iterator>
+1 -2
View File
@@ -23,7 +23,6 @@
#include "net/IPv6Address.hxx"
#include "net/StaticSocketAddress.hxx"
#include "net/AllocatedSocketAddress.hxx"
#include "net/SocketAddress.hxx"
#include "net/SocketUtil.hxx"
#include "net/SocketError.hxx"
#include "net/UniqueSocketDescriptor.hxx"
@@ -37,7 +36,7 @@
#include "Log.hxx"
#include <string>
#include <algorithm>
#include <utility>
#include <assert.h>
+2 -6
View File
@@ -20,13 +20,9 @@
#include "SocketMonitor.hxx"
#include "Loop.hxx"
#include <assert.h>
#include <utility>
#ifdef _WIN32
#include <winsock2.h>
#else
#include <sys/socket.h>
#endif
#include <assert.h>
void
SocketMonitor::Dispatch(unsigned flags) noexcept