aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
author"Robert P. J. Day" <rpjday@mindspring.com>2006-07-01 14:52:12 +0000
committer"Robert P. J. Day" <rpjday@mindspring.com>2006-07-01 14:52:12 +0000
commitedd9ca574327205933f23205d7051f613e46b23b (patch)
treed88d2f2f16e9bbb8bf03943d4d1e9dd4c717b24e /archival
parent53f21e34a7765c74afab1a8867f4965fb981edb7 (diff)
downloadbusybox-edd9ca574327205933f23205d7051f613e46b23b.tar.gz
More removal of "#if 0" content.
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c9
-rw-r--r--archival/gunzip.c20
-rw-r--r--archival/gzip.c9
3 files changed, 0 insertions, 38 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 32e51257e..6ca59ac91 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1021,15 +1021,6 @@ static int check_deps(deb_file_t **deb_file, int deb_start, int dep_max_count)
continue;
}
-#if 0
- /* This might be needed so we don't complain about
- * things which are broken but unrelated to the
- * packages that are currently being installed
- */
- if (state_status == search_name_hashtable("installed"))
- continue;
-#endif
-
/* This code is tested only for EDGE_DEPENDS, since I
* have no suitable pre-depends available. There is no
* reason that it shouldn't work though :-)
diff --git a/archival/gunzip.c b/archival/gunzip.c
index 35449b04d..ebbce4112 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -40,26 +40,6 @@
* See the file algorithm.doc for the compression algorithms and file formats.
*/
-#if 0
-static char *license_msg[] = {
- " Copyright (C) 1992-1993 Jean-loup Gailly",
- " This program is free software; you can redistribute it and/or modify",
- " it under the terms of the GNU General Public License as published by",
- " the Free Software Foundation; either version 2, or (at your option)",
- " any later version.",
- "",
- " This program is distributed in the hope that it will be useful,",
- " but WITHOUT ANY WARRANTY; without even the implied warranty of",
- " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
- " GNU General Public License for more details.",
- "",
- " You should have received a copy of the GNU General Public License",
- " along with this program; if not, write to the Free Software",
- " Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.",
- 0
-};
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/archival/gzip.c b/archival/gzip.c
index aebe90ea6..486f78f88 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -144,15 +144,6 @@ typedef int file_t; /* Do not use stdio */
#define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\
flush_outbuf();}
-
-/* Output a 32 bit value to the bit stream, lsb first */
-#if 0
-#define put_long(n) { \
- put_short((n) & 0xffff); \
- put_short(((ulg)(n)) >> 16); \
-}
-#endif
-
#define seekable() 0 /* force sequential output */
#define translate_eol 0 /* no option -a yet */