diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-31 22:42:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-05-31 22:42:12 +0000 |
commit | 9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch) | |
tree | 5966d651dcb5588e24106791f9cd3647f358112b /archival/cpio.c | |
parent | fad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff) | |
download | busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.bz2 busybox-w32-9a7d38fe2448617df98ecaea7dbe6f3131088586.zip |
delete tons of extra #includes
Diffstat (limited to 'archival/cpio.c')
-rw-r--r-- | archival/cpio.c | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/archival/cpio.c b/archival/cpio.c index 6d1ee166d..72d31c35d 100644 --- a/archival/cpio.c +++ b/archival/cpio.c | |||
@@ -11,20 +11,16 @@ | |||
11 | * Only supports new ASCII and CRC formats | 11 | * Only supports new ASCII and CRC formats |
12 | * | 12 | * |
13 | */ | 13 | */ |
14 | #include <fcntl.h> | ||
15 | #include <stdlib.h> | ||
16 | #include <string.h> | ||
17 | #include <unistd.h> | ||
18 | #include "unarchive.h" | ||
19 | #include "libbb.h" | 14 | #include "libbb.h" |
15 | #include "unarchive.h" | ||
20 | 16 | ||
21 | #define CPIO_OPT_EXTRACT 0x01 | 17 | #define CPIO_OPT_EXTRACT 0x01 |
22 | #define CPIO_OPT_TEST 0x02 | 18 | #define CPIO_OPT_TEST 0x02 |
23 | #define CPIO_OPT_UNCONDITIONAL 0x04 | 19 | #define CPIO_OPT_UNCONDITIONAL 0x04 |
24 | #define CPIO_OPT_VERBOSE 0x08 | 20 | #define CPIO_OPT_VERBOSE 0x08 |
25 | #define CPIO_OPT_FILE 0x10 | 21 | #define CPIO_OPT_FILE 0x10 |
26 | #define CPIO_OPT_CREATE_LEADING_DIR 0x20 | 22 | #define CPIO_OPT_CREATE_LEADING_DIR 0x20 |
27 | #define CPIO_OPT_PRESERVE_MTIME 0x40 | 23 | #define CPIO_OPT_PRESERVE_MTIME 0x40 |
28 | 24 | ||
29 | int cpio_main(int argc, char **argv); | 25 | int cpio_main(int argc, char **argv); |
30 | int cpio_main(int argc, char **argv) | 26 | int cpio_main(int argc, char **argv) |