aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagPool.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
committerMax Kellermann <max@duempel.org>2013-10-20 13:32:59 +0200
commita78b2d84ed7c2a82c69c56125036e70b009a87b0 (patch)
treec8818c4111e9f2138cb66a38e1664ad5aa432bd4 /src/tag/TagPool.cxx
parentcf4d80fc655a399615529bdd27e0be284754c5ab (diff)
downloadmpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.gz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.tar.xz
mpd-a78b2d84ed7c2a82c69c56125036e70b009a87b0.zip
TagType: rename enum tag_type to TagType
Diffstat (limited to 'src/tag/TagPool.cxx')
-rw-r--r--src/tag/TagPool.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tag/TagPool.cxx b/src/tag/TagPool.cxx
index 57a9137a7..cc28ea9a6 100644
--- a/src/tag/TagPool.cxx
+++ b/src/tag/TagPool.cxx
@@ -39,7 +39,7 @@ struct slot {
static struct slot *slots[NUM_SLOTS];
static inline unsigned
-calc_hash_n(enum tag_type type, const char *p, size_t length)
+calc_hash_n(TagType type, const char *p, size_t length)
{
unsigned hash = 5381;
@@ -52,7 +52,7 @@ calc_hash_n(enum tag_type type, const char *p, size_t length)
}
static inline unsigned
-calc_hash(enum tag_type type, const char *p)
+calc_hash(TagType type, const char *p)
{
unsigned hash = 5381;
@@ -71,7 +71,7 @@ tag_item_to_slot(TagItem *item)
}
static struct slot *slot_alloc(struct slot *next,
- enum tag_type type,
+ TagType type,
const char *value, int length)
{
struct slot *slot;
@@ -87,7 +87,7 @@ static struct slot *slot_alloc(struct slot *next,
}
TagItem *
-tag_pool_get_item(enum tag_type type, const char *value, size_t length)
+tag_pool_get_item(TagType type, const char *value, size_t length)
{
struct slot **slot_p, *slot;