diff options
| author | [email protected] <[email protected]> | 2012-08-08 15:16:03 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-08-08 15:16:03 +0000 |
| commit | 3675f263cb938b8585cc8f6f28b51b9a1e29e64d (patch) | |
| tree | 54d84d75f449abbe29746412712e530f2a0dd6be /components | |
| parent | 853b1259b0d6d90fbc4f87fde5517453d7525075 (diff) | |
fix the return type of leavefs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2249 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/filesystems/elmfat/dfs_elm.c | 2 | ||||
| -rw-r--r-- | components/dfs/filesystems/elmfat/ff.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/dfs/filesystems/elmfat/dfs_elm.c b/components/dfs/filesystems/elmfat/dfs_elm.c index c9812181ae..08218b1461 100644 --- a/components/dfs/filesystems/elmfat/dfs_elm.c +++ b/components/dfs/filesystems/elmfat/dfs_elm.c @@ -105,7 +105,7 @@ int dfs_elm_mount(struct dfs_filesystem *fs, unsigned long rwflag, const void *d if (result == FR_OK) { 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]; const char * path; DIR dj; diff --git a/components/dfs/filesystems/elmfat/ff.c b/components/dfs/filesystems/elmfat/ff.c index ea09720d3b..c8c27f6c0a 100644 --- a/components/dfs/filesystems/elmfat/ff.c +++ b/components/dfs/filesystems/elmfat/ff.c @@ -4020,7 +4020,7 @@ int elm_get_vol(FATFS *fat) } #endif -void leavefs(FATFS* fs, int res) +int leavefs(FATFS* fs, int res) { LEAVE_FF(fs, res); } |
