*: include cleanup (using iwyu)
This commit is contained in:
@@ -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
|
||||
|
@@ -29,8 +29,6 @@
|
||||
#include <system_error>
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
gcc_const
|
||||
static enum ack
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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"
|
||||
|
@@ -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)
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user