diff options
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 |