summaryrefslogtreecommitdiffstats
path: root/firmware/include/dir.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-02-16 22:49:11 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-02-16 22:49:11 +0000
commit53b1af7a61898ac76a94018fc1863c2a2abf9d3c (patch)
treee76ff6264625ca97ccdd02348a687bda0aa38f55 /firmware/include/dir.h
parentf82c021b8b382613a8bb5e8915c218bc2277a8c1 (diff)
downloadrockbox-53b1af7a61898ac76a94018fc1863c2a2abf9d3c.tar.gz
rockbox-53b1af7a61898ac76a94018fc1863c2a2abf9d3c.zip
-Cosmetic change in a comparison
-Move fat_dir structure out of dircache stack to RAM. Reduce dircache stack size (max level depth should stay be around 20). This should fix nano2g dircache stkov of FS#10679 -Change the structure returned by readdir_cached to match the one returned by readdir_uncached: remove useless fields to save space and avoid any potential incoherence -Remove one field from the internal structure used by {opend,read,close}dir_cached because it was mostly redundant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24708 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r--firmware/include/dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h
index 5aa6cde35a..9ff96e3419 100644
--- a/firmware/include/dir.h
+++ b/firmware/include/dir.h
@@ -44,7 +44,7 @@
#ifdef HAVE_DIRCACHE
# include "dircache.h"
# define DIR DIR_CACHED
-# define dirent dircache_entry
+# define dirent dirent_cached
# define opendir opendir_cached
# define closedir closedir_cached
# define readdir readdir_cached