From aa8761fccc5ac005b8284246c7c637595cc9489e Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 15 Feb 2007 22:55:22 +0000 Subject: Shave a few bytes off the binary size, especially on hwcodec targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagcache.c | 13 ------------- apps/tagcache.h | 1 - 2 files changed, 14 deletions(-) (limited to 'apps') diff --git a/apps/tagcache.c b/apps/tagcache.c index 6ef0755..43b4ad6 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -226,19 +226,6 @@ static int processed_dir_count; static volatile int write_lock; static volatile int read_lock; -int tagcache_str_to_tag(const char *str) -{ - int i; - - for (i = 0; i < (long)(sizeof(tags_str)/sizeof(tags_str[0])); i++) - { - if (!strcasecmp(tags_str[i], str)) - return i; - } - - return -1; -} - const char* tagcache_tag_to_str(int tag) { return tags_str[tag]; diff --git a/apps/tagcache.h b/apps/tagcache.h index 5140aa1..771629f 100644 --- a/apps/tagcache.h +++ b/apps/tagcache.h @@ -142,7 +142,6 @@ void build_tagcache(const char *path); void tagcache_reverse_scan(void); #endif -int tagcache_str_to_tag(const char *str); const char* tagcache_tag_to_str(int tag); bool tagcache_is_numeric_tag(int type); -- cgit v1.1