summaryrefslogtreecommitdiff
path: root/archival/cpio.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-09-18 16:28:43 +0200
committerDenys Vlasenko2017-09-18 16:28:43 +0200
commit0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5 (patch)
treecfe1328d742da3f0572ac8b2f06aa95259862ac5 /archival/cpio.c
parentb63afead4411c5832d427ed149683c85cc81a4c9 (diff)
downloadbusybox-0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5.zip
busybox-0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5.tar.gz
regularize format of source file headers, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/cpio.c')
-rw-r--r--archival/cpio.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/archival/cpio.c b/archival/cpio.c
index f2165be..1d6cbd1 100644
--- a/archival/cpio.c
+++ b/archival/cpio.c
@@ -10,10 +10,6 @@
* Doesn't check CRC's
* Only supports new ASCII and CRC formats
*/
-#include "libbb.h"
-#include "common_bufsiz.h"
-#include "bb_archive.h"
-
//config:config CPIO
//config: bool "cpio (14 kb)"
//config: default y
@@ -44,6 +40,7 @@
//config: Passthrough mode. Rarely used.
//applet:IF_CPIO(APPLET(cpio, BB_DIR_BIN, BB_SUID_DROP))
+
//kbuild:lib-$(CONFIG_CPIO) += cpio.o
//usage:#define cpio_trivial_usage
@@ -142,6 +139,10 @@
-u, --unconditional Replace all files unconditionally
*/
+#include "libbb.h"
+#include "common_bufsiz.h"
+#include "bb_archive.h"
+
enum {
OPT_EXTRACT = (1 << 0),
OPT_TEST = (1 << 1),