diff options
| author | ngkaho1234 <ngkaho1234@gmail.com> | 2016-01-31 22:31:05 +0800 |
|---|---|---|
| committer | ngkaho1234 <ngkaho1234@gmail.com> | 2016-01-31 15:57:43 +0000 |
| commit | 252c506239ab570c0f671513a3b17d3a44f86b5c (patch) | |
| tree | 205681753f461e59880c2447588efd710b182746 /include/ext4_mkfs.h | |
| parent | 3e42ad4c558d5f3e12cdf22f4d6610836c7df129 (diff) | |
Refactor header files dependencies.
Diffstat (limited to 'include/ext4_mkfs.h')
| -rw-r--r-- | include/ext4_mkfs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ext4_mkfs.h b/include/ext4_mkfs.h index ed8faf9..e22ff88 100644 --- a/include/ext4_mkfs.h +++ b/include/ext4_mkfs.h @@ -43,12 +43,13 @@ extern "C" { #include "ext4_config.h" #include "ext4_types.h" + #include "ext4_blockdev.h" +#include "ext4_fs.h" #include <stdbool.h> #include <stdint.h> - struct ext4_mkfs_info { uint64_t len; uint32_t block_size; @@ -66,6 +67,7 @@ struct ext4_mkfs_info { const char *label; }; + int ext4_mkfs_read_info(struct ext4_blockdev *bd, struct ext4_mkfs_info *info); int ext4_mkfs(struct ext4_fs *fs, struct ext4_blockdev *bd, |
