summaryrefslogtreecommitdiff
path: root/ext4_utils/indirect.c
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-10-05 12:44:18 -0700
committerTao Bao <tbao@google.com>2016-10-09 10:54:24 -0700
commit06ca811e9297e28f43d65f30493df88862ff09c1 (patch)
tree8cb3c1f415af83ae32b32e7dfd2edfe564eba012 /ext4_utils/indirect.c
parentdb9fd64f5e21a5164cd8a1a0d942f4fefb3e5713 (diff)
downloadextras-06ca811e9297e28f43d65f30493df88862ff09c1.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 (cherry picked from commit 018ef1be61e749d0fbe0f05179a4f0f9b858ae57)
Diffstat (limited to 'ext4_utils/indirect.c')
-rw-r--r--ext4_utils/indirect.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext4_utils/indirect.c b/ext4_utils/indirect.c
index cd85a434..992cc326 100644
--- a/ext4_utils/indirect.c
+++ b/ext4_utils/indirect.c
@@ -14,14 +14,16 @@
* limitations under the License.
*/
-#include "ext4_utils.h"
#include "indirect.h"
-#include "allocate.h"
+
+#include <stdio.h>
+#include <stdlib.h>
#include <sparse/sparse.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include "allocate.h"
+#include "ext4_utils/ext4_utils.h"
+
/* Creates data buffers for the first backing_len bytes of a block allocation
and queues them to be written */