diff --git a/fs/vfs/disk/disk.c b/fs/vfs/disk/disk.c index c4b7cd9d2e73511c1dd422c08fd7c6b0ccad44fe..43588d84410f6a2100d633053b3d3f80ee22fe3e 100755 --- a/fs/vfs/disk/disk.c +++ b/fs/vfs/disk/disk.c @@ -76,12 +76,12 @@ UINT32 g_usbMode = 0; typedef VOID *(*StorageHookFunction)(VOID *); +#ifdef LOSCFG_FS_FAT_CACHE static UINT32 OsReHookFuncAddDiskRef(StorageHookFunction handler, VOID *param) __attribute__((weakref("osReHookFuncAdd"))); static UINT32 OsReHookFuncDelDiskRef(StorageHookFunction handler) __attribute__((weakref("osReHookFuncDel"))); -#ifdef LOSCFG_FS_FAT_CACHE UINT32 GetFatBlockNums(VOID) { return g_uwFatBlockNums;