提交 6de0a16f 编写于 作者: M mucor

fix: remove redundant headfile

1.remove redundant headfile in kernel, such as:
  compiler.h;debug.h;automount.h;inode.h;syslog.h;net.h;
2.split fs.h to file.h and driver.h
3.move vnode.h and path_cache.h to vfs/include
4.remove redundant interface and defines

close: #I3RTNR
Signed-off-by: Nmucor <mucorwang@gmail.com>
上级 e23aa342
......@@ -8,7 +8,6 @@
/*-----------------------------------------------------------------------*/
#include "diskio.h"
#ifndef __LITEOS_M__
#include "fs/fs.h"
#include "string.h"
#include "disk.h"
#else
......
......@@ -24,10 +24,12 @@
extern "C" {
#endif
#include <dirent.h>
#include <sys/types.h>
#include "integer.h" /* Basic integer types */
#include "ffconf.h" /* FatFs configuration options */
#ifdef LOSCFG_FS_FAT_VIRTUAL_PARTITION
#include "fs/fs.h"
#include "virpart.h"
#endif
#ifndef __LITEOS_M__
#include "los_list.h"
......@@ -35,7 +37,6 @@ extern "C" {
#if FF_DEFINED != FFCONF_DEF
#error Wrong configuration file (ffconf.h).
#endif
#include "dirent.h"
/*--------------------------------*/
/* LFN/Directory working buffer */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册