*: include cleanup (using iwyu)
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
|
||||
static Directory *
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include "tag/TagBuilder.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
Directory *
|
||||
UpdateWalk::MakeDirectoryIfModified(Directory &parent, const char *name,
|
||||
const StorageFileInfo &info)
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "db/plugins/simple/Song.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
|
||||
void
|
||||
DatabaseEditor::DeleteSong(Directory &dir, Song *del)
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
struct Directory;
|
||||
struct Song;
|
||||
class UpdateRemoveService;
|
||||
|
||||
class DatabaseEditor final {
|
||||
UpdateRemoveService remove;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
bool
|
||||
ExcludeList::LoadFile(Path path_fs)
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "system/FatalError.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <sys/inotify.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <dirent.h>
|
||||
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
#include "Idle.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
#include "thread/Id.hxx"
|
||||
#include "thread/Thread.hxx"
|
||||
#include "thread/Util.hxx"
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
#include "config.h" /* must be first for large file support */
|
||||
#include "UpdateIO.hxx"
|
||||
#include "UpdateDomain.hxx"
|
||||
#include "db/plugins/simple/Directory.hxx"
|
||||
#include "storage/FileInfo.hxx"
|
||||
#include "storage/StorageInterface.hxx"
|
||||
@@ -30,7 +29,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
bool
|
||||
GetInfo(Storage &storage, const char *uri_utf8, StorageFileInfo &info)
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -24,9 +24,6 @@
|
||||
#include "Editor.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
struct stat;
|
||||
struct StorageFileInfo;
|
||||
struct Directory;
|
||||
struct ArchivePlugin;
|
||||
@@ -141,7 +138,7 @@ private:
|
||||
|
||||
/**
|
||||
* Create the specified directory object if it does not exist
|
||||
* already or if the #stat object indicates that it has been
|
||||
* already or if the #StorageFileInfo object indicates that it has been
|
||||
* modified since the last update. Returns nullptr when it
|
||||
* exists already and is unmodified.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user