mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-23 10:41:50 +08:00
fix the return type of leavefs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2249 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -105,7 +105,7 @@ int dfs_elm_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *d
|
|||||||
if (result == FR_OK)
|
if (result == FR_OK)
|
||||||
{
|
{
|
||||||
extern FRESULT chk_mounted(const TCHAR **path, FATFS **rfs, BYTE chk_wp);
|
extern FRESULT chk_mounted(const TCHAR **path, FATFS **rfs, BYTE chk_wp);
|
||||||
extern void leavefs(FATFS* fs, int res);
|
extern int leavefs(FATFS* fs, int res);
|
||||||
char driver[16];
|
char driver[16];
|
||||||
const char * path;
|
const char * path;
|
||||||
DIR dj;
|
DIR dj;
|
||||||
|
@@ -4020,7 +4020,7 @@ int elm_get_vol(FATFS *fat)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void leavefs(FATFS* fs, int res)
|
int leavefs(FATFS* fs, int res)
|
||||||
{
|
{
|
||||||
LEAVE_FF(fs, res);
|
LEAVE_FF(fs, res);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user