diff options
author | Karl Berry <karl@freefriends.org> | 2009-06-18 17:59:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-06-18 17:59:39 +0000 |
commit | 7c08bfdb116dc52e6817eb10481dd3f20a4132f9 (patch) | |
tree | bd6770ee3cc652efca53f9925b32f2c672686653 /Build/source/utils/gzip/lzw.h | |
parent | 105ccc5310edd2930a6a0b687e5629ccb6d4b34c (diff) |
remove gzip, it is in w32 sources where it belongs
git-svn-id: svn://tug.org/texlive/trunk@13824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/gzip/lzw.h')
-rw-r--r-- | Build/source/utils/gzip/lzw.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Build/source/utils/gzip/lzw.h b/Build/source/utils/gzip/lzw.h deleted file mode 100644 index 4b7ac8680e1..00000000000 --- a/Build/source/utils/gzip/lzw.h +++ /dev/null @@ -1,42 +0,0 @@ -/* lzw.h -- define the lzw functions. - * Copyright (C) 1992-1993 Jean-loup Gailly. - * This is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License, see the file COPYING. - */ - -#if !defined(OF) && defined(lint) -# include "gzip.h" -#endif - -#ifndef BITS -# define BITS 16 -#endif -#define INIT_BITS 9 /* Initial number of bits per code */ - -#define LZW_MAGIC "\037\235" /* Magic header for lzw files, 1F 9D */ - -#define BIT_MASK 0x1f /* Mask for 'number of compression bits' */ -/* Mask 0x20 is reserved to mean a fourth header byte, and 0x40 is free. - * It's a pity that old uncompress does not check bit 0x20. That makes - * extension of the format actually undesirable because old compress - * would just crash on the new format instead of giving a meaningful - * error message. It does check the number of bits, but it's more - * helpful to say "unsupported format, get a new version" than - * "can only handle 16 bits". - */ - -#define BLOCK_MODE 0x80 -/* Block compression: if table is full and compression rate is dropping, - * clear the dictionary. - */ - -#define LZW_RESERVED 0x60 /* reserved bits */ - -#define CLEAR 256 /* flush the dictionary */ -#define FIRST (CLEAR+1) /* first free entry */ - -extern int maxbits; /* max bits per code for LZW */ -extern int block_mode; /* block compress mode -C compatible with 2.0 */ - -extern int lzw OF((int in, int out)); -extern int unlzw OF((int in, int out)); |