summaryrefslogtreecommitdiff
path: root/uisimulator/common
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-01 22:06:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-01 22:06:03 +0000
commita4264eb89a21a3c9cc765df76ce293cfd3e73a49 (patch)
treed56cb8b8e73a18cdb883d6fb3f757a8203b60a31 /uisimulator/common
parent4ada1ee44e4a22dc1a39a92bd6b88a664bdb8d77 (diff)
Redo previous commit to not break android builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/io.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index f630ae49c8..b367eb14a1 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -347,6 +347,13 @@ struct sim_dirent *sim_readdir(MYDIR *dir)
return &secret;
}
+struct dirinfo dir_get_info(DIR* parent, struct sim_dirent *entry)
+{
+ (void)parent;
+ return entry->info;
+}
+
+
void sim_closedir(MYDIR *dir)
{
free(dir->name);