aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-19 20:03:34 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-19 20:03:34 +0000
commitd62f7703c40301ce8368a5b5380ac38a73c7e4b8 (patch)
tree1e46d5cf36870771a4f3cedfe84f6161c3871131 /archival
parenta2b5a151efb406f9df569db2c79b090ea57f5ca2 (diff)
downloadbusybox-w32-d62f7703c40301ce8368a5b5380ac38a73c7e4b8.tar.gz
busybox-w32-d62f7703c40301ce8368a5b5380ac38a73c7e4b8.tar.bz2
busybox-w32-d62f7703c40301ce8368a5b5380ac38a73c7e4b8.zip
Added sfdisk. Ststic-ified a bunch of stuff.
git-svn-id: svn://busybox.net/trunk/busybox@38 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c18
-rw-r--r--archival/tar.c17
2 files changed, 16 insertions, 19 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index c7fb25ed0..0ed20b61a 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -11,7 +11,7 @@
11#error you need zcat to have gzip support! 11#error you need zcat to have gzip support!
12#endif 12#endif
13 13
14const char gzip_usage[] = "gzip\nignores all command line arguments\ncompress stdin to stdout with -9 compression\n"; 14static const char gzip_usage[] = "gzip\nignores all command line arguments\ncompress stdin to stdout with -9 compression\n";
15 15
16/* gzip.h -- common declarations for all gzip modules 16/* gzip.h -- common declarations for all gzip modules
17 * Copyright (C) 1992-1993 Jean-loup Gailly. 17 * Copyright (C) 1992-1993 Jean-loup Gailly.
@@ -380,7 +380,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */
380# undef LZW 380# undef LZW
381#endif 381#endif
382 382
383/* $Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $ */ 383/* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */
384/* tailor.h -- target dependent definitions 384/* tailor.h -- target dependent definitions
385 * Copyright (C) 1992-1993 Jean-loup Gailly. 385 * Copyright (C) 1992-1993 Jean-loup Gailly.
386 * This is free software; you can redistribute it and/or modify it under the 386 * This is free software; you can redistribute it and/or modify it under the
@@ -391,7 +391,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */
391 * The target dependent functions should be defined in tailor.c. 391 * The target dependent functions should be defined in tailor.c.
392 */ 392 */
393 393
394/* $Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $ */ 394/* $Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $ */
395 395
396#if defined(__MSDOS__) && !defined(MSDOS) 396#if defined(__MSDOS__) && !defined(MSDOS)
397# define MSDOS 397# define MSDOS
@@ -767,7 +767,7 @@ extern int block_mode; /* block compress mode -C compatible with 2.0 */
767#endif 767#endif
768 768
769#ifdef RCSID 769#ifdef RCSID
770static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 770static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
771#endif 771#endif
772 772
773/* =========================================================================== 773/* ===========================================================================
@@ -976,7 +976,7 @@ void copy_block(buf, len, header)
976#include <stdio.h> 976#include <stdio.h>
977 977
978#ifdef RCSID 978#ifdef RCSID
979static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 979static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
980#endif 980#endif
981 981
982/* =========================================================================== 982/* ===========================================================================
@@ -1592,7 +1592,7 @@ ulg deflate()
1592 */ 1592 */
1593 1593
1594#ifdef RCSID 1594#ifdef RCSID
1595static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 1595static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
1596#endif 1596#endif
1597 1597
1598#include <ctype.h> 1598#include <ctype.h>
@@ -1925,7 +1925,7 @@ local void do_exit(int exitcode)
1925#include <ctype.h> 1925#include <ctype.h>
1926 1926
1927#ifdef RCSID 1927#ifdef RCSID
1928static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 1928static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
1929#endif 1929#endif
1930 1930
1931/* =========================================================================== 1931/* ===========================================================================
@@ -2943,7 +2943,7 @@ local void set_file_type()
2943 */ 2943 */
2944 2944
2945#ifdef RCSID 2945#ifdef RCSID
2946static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 2946static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
2947#endif 2947#endif
2948 2948
2949#include <ctype.h> 2949#include <ctype.h>
@@ -3142,7 +3142,7 @@ void display_ratio(num, den, file)
3142 */ 3142 */
3143 3143
3144#ifdef RCSID 3144#ifdef RCSID
3145static char rcsid[] = "$Id: gzip.c,v 1.3 1999/10/16 15:48:40 andersen Exp $"; 3145static char rcsid[] = "$Id: gzip.c,v 1.4 1999/10/19 20:03:34 andersen Exp $";
3146#endif 3146#endif
3147 3147
3148#include <ctype.h> 3148#include <ctype.h>
diff --git a/archival/tar.c b/archival/tar.c
index f222c3c9d..b404ab025 100644
--- a/archival/tar.c
+++ b/archival/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 */