summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tagcache.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 8448c02db1..391d8c6f81 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -1653,12 +1653,16 @@ static int check_if_empty(char **tag)
1653 entry.tag_offset[tag] = offset; \ 1653 entry.tag_offset[tag] = offset; \
1654 entry.tag_length[tag] = check_if_empty(data); \ 1654 entry.tag_length[tag] = check_if_empty(data); \
1655 offset += entry.tag_length[tag] 1655 offset += entry.tag_length[tag]
1656 1656/* GCC 3.4.6 for Coldfire can choose to inline this function. Not a good
1657static void add_tagcache(char *path, unsigned long mtime 1657 * idea, as it uses lots of stack and is called from a recursive function
1658 * (check_dir).
1659 */
1660static void __attribute__ ((noinline)) add_tagcache(char *path,
1661 unsigned long mtime
1658#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) 1662#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE)
1659 ,const struct dirent *dc 1663 ,const struct dirent *dc
1660#endif 1664#endif
1661 ) 1665 )
1662{ 1666{
1663 struct mp3entry id3; 1667 struct mp3entry id3;
1664 struct temp_file_entry entry; 1668 struct temp_file_entry entry;