summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-09 09:54:16 +0200
committerJim Meyering <meyering@redhat.com>2011-05-09 10:11:25 +0200
commit9d1b94368968e29154dab51806f232cddc177b4a (patch)
tree892765f72b2b70bd2745352cddb7c4cb7c45f75d
parente79a716a51fa83c09dd4efa28fab4e1617b7746e (diff)
downloadgzip-9d1b94368968e29154dab51806f232cddc177b4a.tar.gz
maint: remove crypt.[ch] stubs
* Makefile.am (gzip_SOURCES): Remove crypt.c (EXTRA_DIST): Remove crypt.h * crypt.c, crypt.h: Remove files. * unpack.c: Don't #include "crypt.h" * zip.c: Likewise * util.c: Likewise. * unzip.c: Likewise.
-rw-r--r--Makefile.am4
-rw-r--r--crypt.c5
-rw-r--r--crypt.h12
-rw-r--r--unpack.c1
-rw-r--r--unzip.c1
-rw-r--r--util.c1
-rw-r--r--zip.c1
7 files changed, 2 insertions, 23 deletions
diff --git a/Makefile.am b/Makefile.am
index b93403d..c035410 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -40,7 +40,7 @@ EXTRA_DIST = $(ACINCLUDE_INPUTS) $(man_MANS) \
cfg.mk \
dist-check.mk \
algorithm.doc amiga/match.a amiga/Makefile.gcc amiga/Makefile.sasc \
- amiga/tailor.c amiga/utime.h atari/Makefile.st crypt.h \
+ amiga/tailor.c amiga/utime.h atari/Makefile.st \
gunzip.in gzexe.in gzip.doc msdos/match.asm msdos/tailor.c \
msdos/gzip.prj msdos/doturboc.bat msdos/Makefile.msc msdos/Makefile.bor \
msdos/Makefile.djg nt/Makefile.nt os2/gzip.def os2/Makefile.os2 \
@@ -56,7 +56,7 @@ bin_PROGRAMS = gzip
bin_SCRIPTS = gunzip gzexe zcat zcmp zdiff \
zegrep zfgrep zforce zgrep zless zmore znew
gzip_SOURCES = \
- bits.c crypt.c deflate.c gzip.c inflate.c lzw.c \
+ bits.c deflate.c gzip.c inflate.c lzw.c \
trees.c unlzh.c unlzw.c unpack.c unzip.c util.c zip.c
gzip_LDADD = libver.a lib/libgzip.a
gzip_LDADD += $(LIB_CLOCK_GETTIME)
diff --git a/crypt.c b/crypt.c
deleted file mode 100644
index ff14a7b..0000000
--- a/crypt.c
+++ /dev/null
@@ -1,5 +0,0 @@
-/* crypt.c (dummy version) -- do not perform encryption
- * Hardly worth copyrighting :-)
- */
-#include <config.h>
-typedef int dummy;
diff --git a/crypt.h b/crypt.h
deleted file mode 100644
index 2a4c203..0000000
--- a/crypt.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/* crypt.h (dummy version) -- do not perform encryption
- * Hardly worth copyrighting :-)
- */
-
-#ifdef CRYPT
-# undef CRYPT /* dummy version */
-#endif
-
-#define RAND_HEAD_LEN 12 /* length of encryption random header */
-
-#define zencode
-#define zdecode
diff --git a/unpack.c b/unpack.c
index 276e925..947d7a5 100644
--- a/unpack.c
+++ b/unpack.c
@@ -20,7 +20,6 @@
#include <config.h>
#include "tailor.h"
#include "gzip.h"
-#include "crypt.h"
#define MIN(a,b) ((a) <= (b) ? (a) : (b))
/* The arguments must not have side effects. */
diff --git a/unzip.c b/unzip.c
index c481a89..302194c 100644
--- a/unzip.c
+++ b/unzip.c
@@ -31,7 +31,6 @@
#include <config.h>
#include "tailor.h"
#include "gzip.h"
-#include "crypt.h"
/* PKZIP header definitions */
#define LOCSIG 0x04034b50L /* four-byte lead-in (lsb first) */
diff --git a/util.c b/util.c
index 12e37c0..58e0092 100644
--- a/util.c
+++ b/util.c
@@ -31,7 +31,6 @@
#include <errno.h>
#include "gzip.h"
-#include "crypt.h"
#include <xalloc.h>
#ifndef CHAR_BIT
diff --git a/zip.c b/zip.c
index b205cd9..28f7372 100644
--- a/zip.c
+++ b/zip.c
@@ -22,7 +22,6 @@
#include "tailor.h"
#include "gzip.h"
-#include "crypt.h"
#include <unistd.h>
#include <fcntl.h>