diff options
Diffstat (limited to 'libdiskconfig/diskconfig.c')
-rw-r--r-- | libdiskconfig/diskconfig.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libdiskconfig/diskconfig.c b/libdiskconfig/diskconfig.c index 1167d4b5e..2d59ad996 100644 --- a/libdiskconfig/diskconfig.c +++ b/libdiskconfig/diskconfig.c | |||
@@ -20,21 +20,19 @@ | |||
20 | #include <errno.h> | 20 | #include <errno.h> |
21 | #include <fcntl.h> | 21 | #include <fcntl.h> |
22 | #include <inttypes.h> | 22 | #include <inttypes.h> |
23 | #include <linux/fs.h> | ||
23 | #include <stdio.h> | 24 | #include <stdio.h> |
24 | #include <stdlib.h> | 25 | #include <stdlib.h> |
25 | #include <string.h> | 26 | #include <string.h> |
26 | #include <unistd.h> | ||
27 | #include <sys/ioctl.h> | 27 | #include <sys/ioctl.h> |
28 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
29 | #include <unistd.h> | ||
29 | 30 | ||
30 | #include <linux/fs.h> | 31 | #include <android/log.h> |
31 | |||
32 | #include <cutils/config_utils.h> | 32 | #include <cutils/config_utils.h> |
33 | #include <log/log.h> | ||
34 | 33 | ||
35 | #include <diskconfig/diskconfig.h> | 34 | #include <diskconfig/diskconfig.h> |
36 | 35 | ||
37 | |||
38 | static int | 36 | static int |
39 | parse_len(const char *str, uint64_t *plen) | 37 | parse_len(const char *str, uint64_t *plen) |
40 | { | 38 | { |