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: mucor <mucorwang@gmail.com>
This commit is contained in:
@@ -35,6 +35,7 @@ LOCAL_SRCS := $(wildcard src/*.c) \
|
||||
$(wildcard $(LITEOSTHIRDPARTY)/Linux_Kernel/fs/jffs2/*.c)
|
||||
LOCAL_INCLUDE := \
|
||||
-I $(LITEOSTOPDIR)/fs/jffs2/include \
|
||||
-I $(LITEOSTOPDIR)/drivers/mtd/multi_partition/include \
|
||||
-I $(LITEOSTHIRDPARTY)/Linux_Kernel/fs/jffs2 \
|
||||
-I $(LITEOSTHIRDPARTY)/Linux_Kernel/fs
|
||||
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
|
||||
|
||||
@@ -46,7 +46,8 @@
|
||||
|
||||
#include "fs/dirent_fs.h"
|
||||
#include "fs/fs.h"
|
||||
#include "fs/vnode.h"
|
||||
#include "fs/driver.h"
|
||||
#include "vnode.h"
|
||||
#include "mtd_list.h"
|
||||
#include "mtd_partition.h"
|
||||
#include "jffs2_hash.h"
|
||||
|
||||
Reference in New Issue
Block a user