diff options
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -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 */ |