diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-15 22:55:22 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-15 22:55:22 +0000 |
| commit | aa8761fccc5ac005b8284246c7c637595cc9489e (patch) | |
| tree | 06a81086414d747ea6d031cd109388d0caaf3baf /apps | |
| parent | 96e5e9eef81a3758fd7bca3b21a5874c4e9f760e (diff) | |
| download | rockbox-aa8761fccc5ac005b8284246c7c637595cc9489e.zip rockbox-aa8761fccc5ac005b8284246c7c637595cc9489e.tar.gz rockbox-aa8761fccc5ac005b8284246c7c637595cc9489e.tar.bz2 rockbox-aa8761fccc5ac005b8284246c7c637595cc9489e.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tagcache.c | 13 | ||||
| -rw-r--r-- | apps/tagcache.h | 1 |
2 files changed, 0 insertions, 14 deletions
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); |