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:
Jaegeuk Kim 2013-01-25 13:23:23 +09:00
parent 28af021c91
commit 40b9f96587
3 changed files with 7 additions and 7 deletions

View File

@ -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__

View File

@ -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}

View File

@ -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;