提交 688caa96 编写于 作者: O openharmony_ci 提交者: Gitee

!15 文件系统冗余代码和依赖删除

Merge pull request !15 from 野生毛霉君/master
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
/*-----------------------------------------------------------------------*/ /*-----------------------------------------------------------------------*/
#include "diskio.h" #include "diskio.h"
#ifndef __LITEOS_M__ #ifndef __LITEOS_M__
#include "fs/fs.h"
#include "string.h" #include "string.h"
#include "disk.h" #include "disk.h"
#else #else
......
...@@ -24,10 +24,12 @@ ...@@ -24,10 +24,12 @@
extern "C" { extern "C" {
#endif #endif
#include <dirent.h>
#include <sys/types.h>
#include "integer.h" /* Basic integer types */ #include "integer.h" /* Basic integer types */
#include "ffconf.h" /* FatFs configuration options */ #include "ffconf.h" /* FatFs configuration options */
#ifdef LOSCFG_FS_FAT_VIRTUAL_PARTITION #ifdef LOSCFG_FS_FAT_VIRTUAL_PARTITION
#include "fs/fs.h" #include "virpart.h"
#endif #endif
#ifndef __LITEOS_M__ #ifndef __LITEOS_M__
#include "los_list.h" #include "los_list.h"
...@@ -35,7 +37,6 @@ extern "C" { ...@@ -35,7 +37,6 @@ extern "C" {
#if FF_DEFINED != FFCONF_DEF #if FF_DEFINED != FFCONF_DEF
#error Wrong configuration file (ffconf.h). #error Wrong configuration file (ffconf.h).
#endif #endif
#include "dirent.h"
/*--------------------------------*/ /*--------------------------------*/
/* LFN/Directory working buffer */ /* LFN/Directory working buffer */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册