diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-09 09:54:16 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-09 10:11:25 +0200 |
commit | 9d1b94368968e29154dab51806f232cddc177b4a (patch) | |
tree | 892765f72b2b70bd2745352cddb7c4cb7c45f75d | |
parent | e79a716a51fa83c09dd4efa28fab4e1617b7746e (diff) | |
download | gzip-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.am | 4 | ||||
-rw-r--r-- | crypt.c | 5 | ||||
-rw-r--r-- | crypt.h | 12 | ||||
-rw-r--r-- | unpack.c | 1 | ||||
-rw-r--r-- | unzip.c | 1 | ||||
-rw-r--r-- | util.c | 1 | ||||
-rw-r--r-- | zip.c | 1 |
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 @@ -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. */ @@ -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) */ @@ -31,7 +31,6 @@ #include <errno.h> #include "gzip.h" -#include "crypt.h" #include <xalloc.h> #ifndef CHAR_BIT @@ -22,7 +22,6 @@ #include "tailor.h" #include "gzip.h" -#include "crypt.h" #include <unistd.h> #include <fcntl.h> |