summaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorEric Andersen1999-10-19 20:03:34 +0000
committerEric Andersen1999-10-19 20:03:34 +0000
commite77ae3a2c0328590b43447550bdb1284650b8236 (patch)
tree1e46d5cf36870771a4f3cedfe84f6161c3871131 /tar.c
parenta3f09076ef5e9a2c26b4d0728cd066bba6c474e4 (diff)
downloadbusybox-e77ae3a2c0328590b43447550bdb1284650b8236.zip
busybox-e77ae3a2c0328590b43447550bdb1284650b8236.tar.gz
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 f222c3c..b404ab0 100644
--- a/tar.c
+++ b/tar.c
@@ -12,10 +12,15 @@
#include "internal.h"
+#include <stdio.h>
+#include <dirent.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <signal.h>
+#include <time.h>
-#ifdef BB_TAR
-const char tar_usage[] =
+static const char tar_usage[] =
"Create, extract, or list files from a TAR file\n\n"
"usage: tar -[cxtvOf] [tarFileName] [FILE] ...\n"
"\tc=create, x=extract, t=list contents, v=verbose,\n"
@@ -23,13 +28,6 @@ const char tar_usage[] =
-#include <stdio.h>
-#include <dirent.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <signal.h>
-#include <time.h>
-
/*
* Tar file constants.
*/
@@ -1151,5 +1149,4 @@ wantFileName (const char *fileName, int fileCount, char **fileTable)
-#endif
/* END CODE */