diff options
author | Tao Bao <tbao@google.com> | 2016-10-05 12:44:18 -0700 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2016-10-09 08:58:56 -0700 |
commit | 018ef1be61e749d0fbe0f05179a4f0f9b858ae57 (patch) | |
tree | c497988d98c219e85e892722b524ccdab6ddaa84 /ext4_utils/ext4_utils.c | |
parent | 329e73bda60d544aed7207982987262de0a8f4a8 (diff) | |
download | extras-018ef1be61e749d0fbe0f05179a4f0f9b858ae57.tar.gz |
ext4_utils: Export headers for libext4_utils* libs.
So we can do "#include <ext4_utils/make_ext4fs.h>" without adding
"LOCAL_C_INCLUDES += system/extras/ext4_utils".
Also clean up the #include lines in system/extras/ext4_utils/.
Test: `m checkbuild` works.
Change-Id: I3c8b07c9b6f5996160e0cb6d9d069579b1609f60
Diffstat (limited to 'ext4_utils/ext4_utils.c')
-rw-r--r-- | ext4_utils/ext4_utils.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/ext4_utils/ext4_utils.c b/ext4_utils/ext4_utils.c index f358960c..bfa57bc7 100644 --- a/ext4_utils/ext4_utils.c +++ b/ext4_utils/ext4_utils.c @@ -14,24 +14,26 @@ * limitations under the License. */ -#include "ext4_utils.h" +#include "ext4_utils/ext4_utils.h" + +#include <fcntl.h> +#include <inttypes.h> +#include <stddef.h> +#include <string.h> +#include <sys/stat.h> +#include <sys/types.h> + +#include <sparse/sparse.h> + #include "allocate.h" -#include "indirect.h" #include "extent.h" +#include "indirect.h" #include "sha1.h" -#include <sparse/sparse.h> #ifdef REAL_UUID #include <uuid.h> #endif -#include <fcntl.h> -#include <inttypes.h> -#include <sys/stat.h> -#include <sys/types.h> -#include <stddef.h> -#include <string.h> - #ifdef _WIN32 #include <winsock2.h> #else |