*: 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

@@ -40,7 +40,6 @@
#include "util/Macros.hxx"
#include "util/Tokenizer.hxx"
#include "util/Error.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StringAPI.hxx"
#ifdef ENABLE_SQLITE

View File

@@ -29,8 +29,6 @@
#include <system_error>
#include <assert.h>
#include <string.h>
#include <errno.h>
gcc_const
static enum ack

View File

@@ -20,7 +20,6 @@
#include "config.h"
#include "DatabaseCommands.hxx"
#include "Request.hxx"
#include "db/DatabaseGlue.hxx"
#include "db/DatabaseQueue.hxx"
#include "db/DatabasePlaylist.hxx"
#include "db/DatabasePrint.hxx"
@@ -36,8 +35,6 @@
#include "SongFilter.hxx"
#include "BulkEdit.hxx"
#include <string.h>
CommandResult
handle_listfiles_db(Client &client, Response &r, const char *uri)
{

View File

@@ -26,7 +26,6 @@
#include "protocol/Ack.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "util/ConstBuffer.hxx"
#include "util/CharUtil.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
@@ -42,7 +41,6 @@
#include "TimePrint.hxx"
#include <assert.h>
#include <sys/stat.h>
#include <inttypes.h> /* for PRIu64 */
gcc_pure

View File

@@ -26,13 +26,9 @@
#include "Partition.hxx"
#include "neighbor/Glue.hxx"
#include "neighbor/Info.hxx"
#include "util/ConstBuffer.hxx"
#include <set>
#include <string>
#include <assert.h>
bool
neighbor_commands_available(const Instance &instance)
{

View File

@@ -37,7 +37,6 @@
#include "mixer/Volume.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StringAPI.hxx"
#include "fs/AllocatedPath.hxx"
#include "Stats.hxx"

View File

@@ -25,7 +25,6 @@
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "util/ConstBuffer.hxx"
CommandResult
handle_enableoutput(Client &client, Request args, Response &r)

View File

@@ -30,7 +30,6 @@
#include "Instance.hxx"
#include "AudioFormat.hxx"
#include "ReplayGainConfig.hxx"
#include "util/ConstBuffer.hxx"
#ifdef ENABLE_DATABASE
#include "db/update/Service.hxx"

View File

@@ -30,11 +30,9 @@
#include "BulkEdit.hxx"
#include "playlist/PlaylistQueue.hxx"
#include "playlist/Print.hxx"
#include "queue/Playlist.hxx"
#include "TimePrint.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "ls.hxx"
#include "Mapper.hxx"
#include "fs/AllocatedPath.hxx"
#include "util/UriUtil.hxx"

View File

@@ -35,16 +35,12 @@
#include "BulkEdit.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StringAPI.hxx"
#include "util/UriUtil.hxx"
#include "util/NumberParser.hxx"
#include "util/Error.hxx"
#include "fs/AllocatedPath.hxx"
#include <memory>
#include <limits>
#include <string.h>
static CommandResult
AddUri(Client &client, const LocatedUri &uri, Response &r)
{

View File

@@ -22,7 +22,6 @@
#include "Request.hxx"
#include "SongPrint.hxx"
#include "db/Interface.hxx"
#include "db/DatabaseGlue.hxx"
#include "sticker/SongSticker.hxx"
#include "sticker/StickerPrint.hxx"
#include "sticker/StickerDatabase.hxx"
@@ -30,7 +29,6 @@
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "Partition.hxx"
#include "Instance.hxx"
#include "util/Error.hxx"
#include "util/ConstBuffer.hxx"
#include "util/StringAPI.hxx"

View File

@@ -20,7 +20,6 @@
#include "config.h"
#include "TagCommands.hxx"
#include "Request.hxx"
#include "CommandError.hxx"
#include "client/Client.hxx"
#include "client/Response.hxx"
#include "tag/Tag.hxx"