summaryrefslogtreecommitdiffstats
path: root/apps/metadata/id3tags.c
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-15 20:58:14 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-15 20:58:14 +0000
commitbda8a963ad0ce49f67cb6641bb3b966f770366f3 (patch)
treefba921269db2805edb4e837bf204e033874ff9fa /apps/metadata/id3tags.c
parent160d9f69086140b058726069b36ccdb98685c863 (diff)
downloadrockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.gz
rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.tar.bz2
rockbox-bda8a963ad0ce49f67cb6641bb3b966f770366f3.zip
Add conditionals for functions only needed on SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/id3tags.c')
-rw-r--r--apps/metadata/id3tags.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata/id3tags.c b/apps/metadata/id3tags.c
index 39365028fc..dcf71f71bf 100644
--- a/apps/metadata/id3tags.c
+++ b/apps/metadata/id3tags.c
@@ -92,6 +92,9 @@ static const char* const genres[] = {
"Synthpop"
};
+#if CONFIG_CODEC != SWCODEC
+static
+#endif
char* id3_get_num_genre(unsigned int genre_num)
{
if (genre_num < ARRAYLEN(genres))