include cleanup using iwyu
This commit is contained in:
@@ -26,9 +26,7 @@
|
||||
#include <limits>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
static constexpr Domain aiff_domain("aiff");
|
||||
|
@@ -34,6 +34,6 @@ extern const struct tag_table ape_tags[];
|
||||
*/
|
||||
bool
|
||||
tag_ape_scan2(Path path_fs,
|
||||
const struct tag_handler *handler, void *handler_ctx);
|
||||
const tag_handler *handler, void *handler_ctx);
|
||||
|
||||
#endif
|
||||
|
@@ -26,7 +26,6 @@
|
||||
#include <limits>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@@ -20,8 +20,8 @@
|
||||
#ifndef MPD_TAG_HXX
|
||||
#define MPD_TAG_HXX
|
||||
|
||||
#include "TagType.h"
|
||||
#include "TagItem.hxx"
|
||||
#include "TagType.h" // IWYU pragma: export
|
||||
#include "TagItem.hxx" // IWYU pragma: export
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
@@ -30,8 +30,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
void
|
||||
TagLoadConfig()
|
||||
{
|
||||
|
@@ -20,8 +20,6 @@
|
||||
#ifndef MPD_TAG_CONFIG_HXX
|
||||
#define MPD_TAG_CONFIG_HXX
|
||||
|
||||
#include "TagType.h"
|
||||
|
||||
void
|
||||
TagLoadConfig();
|
||||
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include "TagId3.hxx"
|
||||
#include "TagHandler.hxx"
|
||||
#include "TagTable.hxx"
|
||||
#include "Tag.hxx"
|
||||
#include "TagBuilder.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
|
@@ -33,10 +33,10 @@ class Error;
|
||||
|
||||
bool
|
||||
tag_id3_scan(Path path_fs,
|
||||
const struct tag_handler *handler, void *handler_ctx);
|
||||
const tag_handler *handler, void *handler_ctx);
|
||||
|
||||
Tag *
|
||||
tag_id3_import(struct id3_tag *);
|
||||
tag_id3_import(id3_tag *);
|
||||
|
||||
/**
|
||||
* Loads the ID3 tags from the file into a libid3tag object. The
|
||||
@@ -53,8 +53,8 @@ tag_id3_load(Path path_fs, Error &error);
|
||||
*
|
||||
*/
|
||||
void
|
||||
scan_id3_tag(struct id3_tag *tag,
|
||||
const struct tag_handler *handler, void *handler_ctx);
|
||||
scan_id3_tag(id3_tag *tag,
|
||||
const tag_handler *handler, void *handler_ctx);
|
||||
|
||||
#else
|
||||
|
||||
@@ -62,7 +62,7 @@ scan_id3_tag(struct id3_tag *tag,
|
||||
|
||||
static inline bool
|
||||
tag_id3_scan(gcc_unused Path path_fs,
|
||||
gcc_unused const struct tag_handler *handler,
|
||||
gcc_unused const tag_handler *handler,
|
||||
gcc_unused void *handler_ctx)
|
||||
{
|
||||
return false;
|
||||
|
@@ -21,10 +21,10 @@
|
||||
#include "TagRva2.hxx"
|
||||
#include "ReplayGainInfo.hxx"
|
||||
|
||||
#include <id3tag.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
#include <id3tag.h>
|
||||
|
||||
enum rva2_channel {
|
||||
CHANNEL_OTHER = 0x00,
|
||||
|
@@ -32,6 +32,6 @@ struct ReplayGainInfo;
|
||||
* @return true on success
|
||||
*/
|
||||
bool
|
||||
tag_rva2_parse(struct id3_tag *tag, ReplayGainInfo &replay_gain_info);
|
||||
tag_rva2_parse(id3_tag *tag, ReplayGainInfo &replay_gain_info);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user