include cleanups (powered by iwyu)
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
gcc_pure
|
||||
static uint_least32_t
|
||||
ParseAlsaVersion(const char *p) noexcept
|
||||
|
@@ -32,8 +32,6 @@
|
||||
#include "event/Call.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
Mutex CurlInit::mutex;
|
||||
|
@@ -35,8 +35,7 @@
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <utility>
|
||||
|
||||
namespace ODBus {
|
||||
|
||||
|
@@ -35,8 +35,8 @@
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <utility>
|
||||
|
||||
namespace ODBus {
|
||||
|
||||
|
@@ -36,7 +36,6 @@
|
||||
#include "Connection.hxx"
|
||||
#include "event/SocketMonitor.hxx"
|
||||
#include "event/DeferEvent.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
|
@@ -37,4 +37,3 @@ FfmpegInit()
|
||||
av_register_all();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@@ -30,8 +30,6 @@ extern "C" {
|
||||
#include <libavutil/log.h>
|
||||
}
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
gcc_const
|
||||
static LogLevel
|
||||
FfmpegImportLogLevel(int level) noexcept
|
||||
|
@@ -31,8 +31,6 @@
|
||||
#include "Hash.hxx"
|
||||
#include "util/HexFormat.hxx"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
std::array<uint8_t, 16>
|
||||
MD5(ConstBuffer<void> input) noexcept
|
||||
{
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include "event/SocketMonitor.hxx"
|
||||
#include "event/TimerEvent.hxx"
|
||||
#include "event/DeferEvent.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
@@ -34,9 +34,8 @@
|
||||
#define UNIQUE_REGEX_HXX
|
||||
|
||||
#include "RegexPointer.hxx"
|
||||
#include "util/StringView.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
#include <pcre.h>
|
||||
|
||||
|
@@ -20,6 +20,7 @@
|
||||
#ifndef MPD_SQLITE_UTIL_HXX
|
||||
#define MPD_SQLITE_UTIL_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
#include "Error.hxx"
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
@@ -21,11 +21,12 @@
|
||||
#include "UniqueIxml.hxx"
|
||||
#include "Device.hxx"
|
||||
#include "ixmlwrap.hxx"
|
||||
#include "Action.hxx"
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/RuntimeError.hxx"
|
||||
#include "util/SplitString.hxx"
|
||||
|
||||
#include <upnptools.h>
|
||||
|
||||
ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
|
||||
const UPnPService &service) noexcept
|
||||
:m_actionURL(uri_apply_base(service.controlURL, device.URLBase)),
|
||||
|
@@ -28,7 +28,6 @@
|
||||
#include "lib/curl/Request.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "event/DeferEvent.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <upnp.h>
|
||||
|
||||
@@ -37,7 +36,6 @@
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <chrono>
|
||||
|
||||
#if UPNP_VERSION < 10800
|
||||
|
@@ -19,8 +19,6 @@
|
||||
|
||||
#include "Util.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
/** Get rid of white space at both ends */
|
||||
void
|
||||
trimstring(std::string &s, const char *ws) noexcept
|
||||
|
@@ -19,8 +19,6 @@
|
||||
|
||||
#include <ixml.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace ixmlwrap {
|
||||
/**
|
||||
* Retrieve the text content for the first element of given
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#ifndef MPD_FLAC_IO_HANDLE_HXX
|
||||
#define MPD_FLAC_IO_HANDLE_HXX
|
||||
|
||||
#include "util/Compiler.h"
|
||||
#include "input/InputStream.hxx"
|
||||
|
||||
#include <FLAC/callback.h>
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef MPD_FLAC_STREAM_METADATA_HXX
|
||||
#define MPD_FLAC_STREAM_METADATA_HXX
|
||||
|
||||
#include <FLAC/metadata.h>
|
||||
#include <FLAC/format.h>
|
||||
|
||||
class TagHandler;
|
||||
class MixRampInfo;
|
||||
|
@@ -25,8 +25,6 @@
|
||||
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class Reader;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user