aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
committerMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
commit75c2029b1c3b59a5922eebc7cf91607758823c45 (patch)
treeb8eb0204dcb4b363aea94e0fcf4593b0610a7172 /src/tag.h
parent5b07cbf0b4428213fee154c2e92b74606abedc2b (diff)
tag: no CamelCase
Renamed numOfItems to num_items.
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tag.h b/src/tag.h
index 52e66bb7..0348ad47 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -48,7 +48,7 @@ enum tag_type {
TAG_NUM_OF_ITEM_TYPES
};
-extern const char *mpdTagItemKeys[];
+extern const char *tag_item_names[];
struct tag_item {
enum tag_type type;
@@ -58,7 +58,7 @@ struct tag_item {
struct tag {
int time;
struct tag_item **items;
- uint8_t numOfItems;
+ uint8_t num_items;
};
struct tag *tag_ape_load(const char *file);
@@ -112,7 +112,7 @@ tag_merge(const struct tag *base, const struct tag *add);
static inline bool
tag_is_empty(const struct tag *tag)
{
- return tag->numOfItems == 0;
+ return tag->num_items == 0;
}
/**