include cleanup
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2018 Max Kellermann <max.kellermann@gmail.com>
|
||||
* Copyright 2012-2020 Max Kellermann <max.kellermann@gmail.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -30,7 +30,7 @@
|
||||
#ifndef UNIQUE_FILE_DESCRIPTOR_HXX
|
||||
#define UNIQUE_FILE_DESCRIPTOR_HXX
|
||||
|
||||
#include "FileDescriptor.hxx"
|
||||
#include "FileDescriptor.hxx" // IWYU pragma: export
|
||||
|
||||
#include <cassert>
|
||||
#include <utility>
|
||||
|
@@ -33,6 +33,8 @@
|
||||
#include "Operation.hxx"
|
||||
#include "CancellableOperation.hxx"
|
||||
|
||||
#include <utility>
|
||||
|
||||
namespace Uring {
|
||||
|
||||
void
|
||||
|
@@ -32,11 +32,8 @@
|
||||
|
||||
#include "Queue.hxx"
|
||||
#include "CancellableOperation.hxx"
|
||||
#include "Operation.hxx"
|
||||
#include "util/DeleteDisposer.hxx"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace Uring {
|
||||
|
||||
Queue::Queue(unsigned entries, unsigned flags)
|
||||
|
@@ -36,6 +36,8 @@
|
||||
#include "Iter.hxx"
|
||||
#include "Values.hxx"
|
||||
|
||||
#include <stdexcept>
|
||||
|
||||
namespace ODBus {
|
||||
|
||||
class AppendMessageIter : public MessageIter {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016-2019 Max Kellermann <max.kellermann@gmail.com>
|
||||
* Copyright 2016-2020 Max Kellermann <max.kellermann@gmail.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -31,13 +31,14 @@
|
||||
#define NET_ADDRESS_INFO_HXX
|
||||
|
||||
#include "SocketAddress.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#include <ws2tcpip.h> // IWYU pragma: export
|
||||
#else
|
||||
#include <netdb.h>
|
||||
#include <netdb.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
constexpr struct addrinfo
|
||||
|
@@ -30,7 +30,7 @@
|
||||
#ifndef ALLOCATED_SOCKET_ADDRESS_HXX
|
||||
#define ALLOCATED_SOCKET_ADDRESS_HXX
|
||||
|
||||
#include "SocketAddress.hxx"
|
||||
#include "SocketAddress.hxx" // IWYU pragma: export
|
||||
#include "Features.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
|
@@ -36,9 +36,9 @@
|
||||
#include <cstddef>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#include <winsock2.h> // IWYU pragma: export
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <sys/socket.h> // IWYU pragma: export
|
||||
#endif
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
@@ -42,6 +42,7 @@
|
||||
#include <netinet/tcp.h>
|
||||
#endif
|
||||
|
||||
#include <cassert>
|
||||
#include <cerrno>
|
||||
|
||||
#include <string.h>
|
||||
|
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <system_error>
|
||||
#include <system_error> // IWYU pragma: export
|
||||
#include <utility>
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -92,7 +92,7 @@ FormatLastError(const char *fmt, Args&&... args) noexcept
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#include <cerrno>
|
||||
#include <cerrno> // IWYU pragma: export
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
@@ -29,6 +29,8 @@
|
||||
|
||||
#include "StringCompare.hxx"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
bool
|
||||
StringEndsWith(const char *haystack, const char *needle) noexcept
|
||||
{
|
||||
|
Reference in New Issue
Block a user