Commit 8661a51a authored by Max Kellermann's avatar Max Kellermann

SongFilter: make locate_parse_type() static

parent 42ec6716
...@@ -44,7 +44,11 @@ ...@@ -44,7 +44,11 @@
#define LOCATE_TAG_FILE_KEY_OLD "filename" #define LOCATE_TAG_FILE_KEY_OLD "filename"
#define LOCATE_TAG_ANY_KEY "any" #define LOCATE_TAG_ANY_KEY "any"
unsigned /**
* @return #TAG_NUM_OF_ITEM_TYPES on error
*/
gcc_pure
static unsigned
locate_parse_type(const char *str) noexcept locate_parse_type(const char *str) noexcept
{ {
if (StringEqualsCaseASCII(str, LOCATE_TAG_FILE_KEY) || if (StringEqualsCaseASCII(str, LOCATE_TAG_FILE_KEY) ||
......
...@@ -280,11 +280,4 @@ public: ...@@ -280,11 +280,4 @@ public:
SongFilter WithoutBasePrefix(const char *prefix) const noexcept; SongFilter WithoutBasePrefix(const char *prefix) const noexcept;
}; };
/**
* @return #TAG_NUM_OF_ITEM_TYPES on error
*/
gcc_pure
unsigned
locate_parse_type(const char *str) noexcept;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment