diff options
author | Colin Cross <ccross@android.com> | 2013-01-23 15:38:57 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2013-01-23 17:00:13 -0800 |
commit | 965298695c981ee5a67e86977a8e40a50f7392ab (patch) | |
tree | 52c260f635da2f3bdaa57edeb0b091360ad7f82a /ext4_utils/make_ext4fs_main.c | |
parent | 03ad99cff5743b9e0ce462f53dd2f0fcb17b169b (diff) | |
download | extras-965298695c981ee5a67e86977a8e40a50f7392ab.tar.gz |
ext4_utils: reduce exported apis
Remove unnecessary functions from make_ext4fs.h so they are not
exposed to users of libext4_utils.
Requires fixing up some internal places that depended on the
definitions in the external make_ext4fs.h header.
Change-Id: Ied24e0efb648d4fd2ccdd1a5a1b685e9bde9cfd7
Diffstat (limited to 'ext4_utils/make_ext4fs_main.c')
-rw-r--r-- | ext4_utils/make_ext4fs_main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c index 3f6d35bb..71fc3c18 100644 --- a/ext4_utils/make_ext4fs_main.c +++ b/ext4_utils/make_ext4fs_main.c @@ -16,6 +16,7 @@ #include <fcntl.h> #include <libgen.h> +#include <stdio.h> #include <unistd.h> #if defined(__linux__) @@ -28,7 +29,16 @@ #include <private/android_filesystem_config.h> #endif +#ifndef USE_MINGW +#include <selinux/selinux.h> +#include <selinux/label.h> +#include <selinux/android.h> +#else +struct selabel_handle; +#endif + #include "make_ext4fs.h" +#include "ext4_utils.h" #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ #define O_BINARY 0 |