aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
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 */