diff --git a/fs/vfs/operation/fs_file_mapping.c b/fs/vfs/operation/fs_file_mapping.c index b143df41..8842579f 100644 --- a/fs/vfs/operation/fs_file_mapping.c +++ b/fs/vfs/operation/fs_file_mapping.c @@ -294,8 +294,10 @@ out: return ret; } -struct file_map* GetFileMappingList() +#ifdef LOSCFG_DEBUG_VERSION +struct file_map* GetFileMappingList(void) { return &g_file_mapping; } #endif +#endif