*: include cleanup (using iwyu)

This commit is contained in:
Max Kellermann
2016-03-01 22:08:13 +01:00
parent fb547260d1
commit 1aee89f5ea
181 changed files with 18 additions and 390 deletions

View File

@@ -43,7 +43,6 @@ static constexpr unsigned DEVICE_INARCHIVE = -1;
*/
static constexpr unsigned DEVICE_CONTAINER = -2;
struct db_visitor;
class SongFilter;
class Error;
class Database;

View File

@@ -31,7 +31,6 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <stddef.h>
#include <string.h>
#define DIRECTORY_DIR "directory: "

View File

@@ -22,10 +22,8 @@
#include "PrefixedLightSong.hxx"
#include "db/Selection.hxx"
#include "db/LightDirectory.hxx"
#include "db/LightSong.hxx"
#include "db/Interface.hxx"
#include "fs/Traits.hxx"
#include "util/Error.hxx"
#include <string>

View File

@@ -27,7 +27,6 @@
#include "db/LightDirectory.hxx"
#include "Directory.hxx"
#include "Song.hxx"
#include "SongFilter.hxx"
#include "DatabaseSave.hxx"
#include "db/DatabaseLock.hxx"
#include "db/DatabaseError.hxx"

View File

@@ -27,7 +27,6 @@
#include <assert.h>
#include <string.h>
#include <stdlib.h>
inline Song::Song(const char *_uri, size_t uri_length, Directory &_parent)
:parent(&_parent), mtime(0),

View File

@@ -29,7 +29,6 @@
#include <string>
#include <assert.h>
#include <time.h>
struct LightSong;

View File

@@ -22,8 +22,6 @@
#include "Song.hxx"
struct list_head;
void
song_list_sort(SongList &songs);