include cleanup using iwyu
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
#include "system/SocketError.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
BufferedSocket::ssize_t
|
||||
BufferedSocket::DirectRead(void *data, size_t length)
|
||||
|
||||
@@ -23,13 +23,13 @@
|
||||
#include "check.h"
|
||||
#include "SocketMonitor.hxx"
|
||||
#include "util/FifoBuffer.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct fifo_buffer;
|
||||
class Error;
|
||||
class EventLoop;
|
||||
|
||||
/**
|
||||
* A #SocketMonitor specialization that adds an input buffer.
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "util/fifo_buffer.h"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "BufferedSocket.hxx"
|
||||
#include "IdleMonitor.hxx"
|
||||
#include "util/PeakBuffer.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
/**
|
||||
* A #BufferedSocket specialization that adds an output buffer.
|
||||
|
||||
@@ -21,6 +21,8 @@
|
||||
#include "IdleMonitor.hxx"
|
||||
#include "Loop.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
void
|
||||
IdleMonitor::Cancel()
|
||||
{
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#endif
|
||||
|
||||
#include <forward_list>
|
||||
#include <iterator>
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
class SignalMonitor final : private SocketMonitor {
|
||||
#ifdef USE_SIGNALFD
|
||||
SignalFD fd;
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#ifdef WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user