mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-26 19:51:32 +00:00
build: move f2fs_format.h to ../include/f2fs_fs.h
This is to use f2fs.h globally, which will be used by other tools such as fsck.f2fs. Siged-mff-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
This commit is contained in:
parent
28af021c91
commit
40b9f96587
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* f2fs_format.h
|
||||
* f2fs_fs.h
|
||||
*
|
||||
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
|
||||
* http://www.samsung.com/
|
||||
@ -8,8 +8,8 @@
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#ifndef __F2FS_FORMAT_H__
|
||||
#define __F2FS_FORMAT_H__
|
||||
#ifndef __F2FS_FS_H__
|
||||
#define __F2FS_FS_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <endian.h>
|
||||
@ -443,4 +443,4 @@ enum {
|
||||
F2FS_FT_MAX
|
||||
};
|
||||
|
||||
#endif //__F2FS_FORMAT_H__
|
||||
#endif //__F2FS_FS_H__
|
@ -1,7 +1,7 @@
|
||||
## Makefile.am
|
||||
|
||||
AM_CPPFLAGS = ${libuuid_CFLAGS}
|
||||
AM_CPPFLAGS = ${libuuid_CFLAGS} -I$(top_srcdir)/include
|
||||
AM_CFLAGS = -Wall
|
||||
sbin_PROGRAMS = mkfs.f2fs
|
||||
mkfs_f2fs_SOURCES = f2fs_format.c f2fs_format.h
|
||||
mkfs_f2fs_SOURCES = f2fs_format.c
|
||||
mkfs_f2fs_LDADD = ${libuuid_LIBS}
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <linux/fs.h>
|
||||
#include <uuid/uuid.h>
|
||||
|
||||
#include "f2fs_format.h"
|
||||
#include "f2fs_fs.h"
|
||||
|
||||
struct f2fs_global_parameters f2fs_params;
|
||||
struct f2fs_super_block super_block;
|
||||
|
Loading…
Reference in New Issue
Block a user