mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Fix for HAVE_MULTIDRIVE on application builds.
Change-Id: I089ea4756e0c824993c65062290c40b3e67f9181
This commit is contained in:
parent
5802141bec
commit
cbc57af0f3
3 changed files with 4 additions and 3 deletions
|
|
@ -43,8 +43,9 @@ long filesize(int fd)
|
|||
}
|
||||
|
||||
/* do we really need this in the app? */
|
||||
void fat_size(unsigned long* size, unsigned long* free)
|
||||
void fat_size(IF_MV(int volume,) unsigned long* size, unsigned long* free)
|
||||
{
|
||||
IF_MV((void) volume);
|
||||
*size = *free = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ extern int _mkdir(const char* name);
|
|||
extern int _rmdir(const char* name);
|
||||
extern int _closedir(DIR* dir);
|
||||
extern struct dirent *_readdir(DIR* dir);
|
||||
extern void fat_size(unsigned long *size, unsigned long *free);
|
||||
|
||||
#define DIRFUNCTIONS_DEFINED
|
||||
#define DIRENT_DEFINED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue