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
View File
@@ -21,7 +21,6 @@
#define MPD_UPDATE_DATABASE_HXX
#include "Remove.hxx"
#include "util/Compiler.h"
struct Directory;
struct Song;
-4
View File
@@ -27,13 +27,9 @@
#include "fs/NarrowPath.hxx"
#include "input/TextInputStream.hxx"
#include "util/StringStrip.hxx"
#include "Log.hxx"
#include "config.h"
#include <exception>
#include <assert.h>
#include <string.h>
#ifdef HAVE_CLASS_GLOB
-1
View File
@@ -25,7 +25,6 @@
#include "Log.hxx"
#include <sys/inotify.h>
#include <unistd.h>
#include <errno.h>
#include <stdint.h>
#include <limits.h>
-3
View File
@@ -21,9 +21,6 @@
#define MPD_INOTIFY_SOURCE_HXX
#include "event/SocketMonitor.hxx"
#include "util/Compiler.h"
class FileDescriptor;
typedef void (*mpd_inotify_callback_t)(int wd, unsigned mask,
const char *name, void *ctx);
-2
View File
@@ -20,8 +20,6 @@
#ifndef MPD_INOTIFY_UPDATE_HXX
#define MPD_INOTIFY_UPDATE_HXX
#include "util/Compiler.h"
class EventLoop;
class Storage;
class UpdateService;
-2
View File
@@ -22,12 +22,10 @@
#include "event/DeferEvent.hxx"
#include "thread/Mutex.hxx"
#include "util/Compiler.h"
#include <forward_list>
#include <string>
struct Song;
class DatabaseListener;
/**
-2
View File
@@ -26,8 +26,6 @@
#include "fs/AllocatedPath.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <errno.h>
bool
+1 -1
View File
@@ -40,7 +40,7 @@
#include "util/UriUtil.hxx"
#include "Log.hxx"
#include <stdexcept>
#include <exception>
#include <memory>
#include <assert.h>