summaryrefslogtreecommitdiff
path: root/archival/cpio.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-31 22:42:12 +0000
committerDenis Vlasenko2007-05-31 22:42:12 +0000
commit9a7d38fe2448617df98ecaea7dbe6f3131088586 (patch)
tree5966d651dcb5588e24106791f9cd3647f358112b /archival/cpio.c
parentfad2b86c9e7eaadb973b50a1bc0e2accc1a96cfd (diff)
downloadbusybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.zip
busybox-9a7d38fe2448617df98ecaea7dbe6f3131088586.tar.gz
delete tons of extra #includes
Diffstat (limited to 'archival/cpio.c')
-rw-r--r--archival/cpio.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index 6d1ee16..72d31c3 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -11,20 +11,16 @@
* Only supports new ASCII and CRC formats
*
*/
-#include <fcntl.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include "unarchive.h"
#include "libbb.h"
+#include "unarchive.h"
-#define CPIO_OPT_EXTRACT 0x01
-#define CPIO_OPT_TEST 0x02
-#define CPIO_OPT_UNCONDITIONAL 0x04
-#define CPIO_OPT_VERBOSE 0x08
-#define CPIO_OPT_FILE 0x10
-#define CPIO_OPT_CREATE_LEADING_DIR 0x20
-#define CPIO_OPT_PRESERVE_MTIME 0x40
+#define CPIO_OPT_EXTRACT 0x01
+#define CPIO_OPT_TEST 0x02
+#define CPIO_OPT_UNCONDITIONAL 0x04
+#define CPIO_OPT_VERBOSE 0x08
+#define CPIO_OPT_FILE 0x10
+#define CPIO_OPT_CREATE_LEADING_DIR 0x20
+#define CPIO_OPT_PRESERVE_MTIME 0x40
int cpio_main(int argc, char **argv);
int cpio_main(int argc, char **argv)