diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-02-07 18:18:16 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-23 20:23:52 +0100 |
commit | cbc57af0f3192093177d90861df72c4074566cf8 (patch) | |
tree | 488601bd953a51bd31ccc230c6cb80cd1fcbe02b /firmware | |
parent | 5802141beccf90f06904178a5c51b281d23eba13 (diff) | |
download | rockbox-cbc57af0f3192093177d90861df72c4074566cf8.tar.gz rockbox-cbc57af0f3192093177d90861df72c4074566cf8.zip |
Fix for HAVE_MULTIDRIVE on application builds.
Change-Id: I089ea4756e0c824993c65062290c40b3e67f9181
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/filesystem-unix.c | 3 | ||||
-rw-r--r-- | firmware/target/hosted/samsungypr/dir-target.h | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/filesystem-unix.c b/firmware/target/hosted/filesystem-unix.c index 7f49a5f91a..45b9e0fca1 100644 --- a/firmware/target/hosted/filesystem-unix.c +++ b/firmware/target/hosted/filesystem-unix.c | |||
@@ -43,8 +43,9 @@ long filesize(int fd) | |||
43 | } | 43 | } |
44 | 44 | ||
45 | /* do we really need this in the app? */ | 45 | /* do we really need this in the app? */ |
46 | void fat_size(unsigned long* size, unsigned long* free) | 46 | void fat_size(IF_MV(int volume,) unsigned long* size, unsigned long* free) |
47 | { | 47 | { |
48 | IF_MV((void) volume); | ||
48 | *size = *free = 0; | 49 | *size = *free = 0; |
49 | } | 50 | } |
50 | 51 | ||
diff --git a/firmware/target/hosted/samsungypr/dir-target.h b/firmware/target/hosted/samsungypr/dir-target.h index 7df9554e92..acd11d8041 100644 --- a/firmware/target/hosted/samsungypr/dir-target.h +++ b/firmware/target/hosted/samsungypr/dir-target.h | |||
@@ -40,7 +40,6 @@ extern int _mkdir(const char* name); | |||
40 | extern int _rmdir(const char* name); | 40 | extern int _rmdir(const char* name); |
41 | extern int _closedir(DIR* dir); | 41 | extern int _closedir(DIR* dir); |
42 | extern struct dirent *_readdir(DIR* dir); | 42 | extern struct dirent *_readdir(DIR* dir); |
43 | extern void fat_size(unsigned long *size, unsigned long *free); | ||
44 | 43 | ||
45 | #define DIRFUNCTIONS_DEFINED | 44 | #define DIRFUNCTIONS_DEFINED |
46 | #define DIRENT_DEFINED | 45 | #define DIRENT_DEFINED |