*: include cleanup (using iwyu)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
@@ -35,7 +35,6 @@
|
||||
class TimeoutMonitor;
|
||||
class IdleMonitor;
|
||||
class DeferredMonitor;
|
||||
class SocketMonitor;
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -22,8 +22,6 @@
|
||||
|
||||
#include <list>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class SocketAddress;
|
||||
class AllocatedSocketAddress;
|
||||
class EventLoop;
|
||||
|
@@ -22,7 +22,6 @@
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
#include "WakeFD.hxx"
|
||||
#include "SocketMonitor.hxx"
|
||||
#include "util/Manual.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include "SocketMonitor.hxx"
|
||||
#include "Loop.hxx"
|
||||
#include "system/fd_util.h"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
Reference in New Issue
Block a user