aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-19 20:03:34 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-19 20:03:34 +0000
commite77ae3a2c0328590b43447550bdb1284650b8236 (patch)
tree1e46d5cf36870771a4f3cedfe84f6161c3871131 /tar.c
parenta3f09076ef5e9a2c26b4d0728cd066bba6c474e4 (diff)
downloadbusybox-w32-e77ae3a2c0328590b43447550bdb1284650b8236.tar.gz
busybox-w32-e77ae3a2c0328590b43447550bdb1284650b8236.tar.bz2
busybox-w32-e77ae3a2c0328590b43447550bdb1284650b8236.zip
Added sfdisk. Ststic-ified a bunch of stuff.
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/tar.c b/tar.c
index f222c3c9d..b404ab025 100644
--- a/tar.c
+++ b/tar.c
@@ -12,10 +12,15 @@
12 12
13 13
14#include "internal.h" 14#include "internal.h"
15#include <stdio.h>
16#include <dirent.h>
17#include <errno.h>
18#include <fcntl.h>
19#include <signal.h>
20#include <time.h>
15 21
16#ifdef BB_TAR
17 22
18const char tar_usage[] = 23static const char tar_usage[] =
19 "Create, extract, or list files from a TAR file\n\n" 24 "Create, extract, or list files from a TAR file\n\n"
20 "usage: tar -[cxtvOf] [tarFileName] [FILE] ...\n" 25 "usage: tar -[cxtvOf] [tarFileName] [FILE] ...\n"
21 "\tc=create, x=extract, t=list contents, v=verbose,\n" 26 "\tc=create, x=extract, t=list contents, v=verbose,\n"
@@ -23,13 +28,6 @@ const char tar_usage[] =
23 28
24 29
25 30
26#include <stdio.h>
27#include <dirent.h>
28#include <errno.h>
29#include <fcntl.h>
30#include <signal.h>
31#include <time.h>
32
33/* 31/*
34 * Tar file constants. 32 * Tar file constants.
35 */ 33 */
@@ -1151,5 +1149,4 @@ wantFileName (const char *fileName, int fileCount, char **fileTable)
1151 1149
1152 1150
1153 1151
1154#endif
1155/* END CODE */ 1152/* END CODE */