From d2ea5b4ea490388ea5fb5cc7a54bafd464d13243 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 9 Oct 2003 04:47:27 +0000 Subject: Yay for mingw32 --- lib/zlib/src/maketree.c | 85 ------------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 lib/zlib/src/maketree.c (limited to 'lib/zlib/src/maketree.c') diff --git a/lib/zlib/src/maketree.c b/lib/zlib/src/maketree.c deleted file mode 100644 index a16d4b1..0000000 --- a/lib/zlib/src/maketree.c +++ /dev/null @@ -1,85 +0,0 @@ -/* maketree.c -- make inffixed.h table for decoding fixed codes - * Copyright (C) 1995-2002 Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h - */ - -/* WARNING: this file should *not* be used by applications. It is - part of the implementation of the compression library and is - subject to change. Applications should only use zlib.h. - */ - -/* This program is included in the distribution for completeness. - You do not need to compile or run this program since inffixed.h - is already included in the distribution. To use this program - you need to compile zlib with BUILDFIXED defined and then compile - and link this program with the zlib library. Then the output of - this program can be piped to inffixed.h. */ - -#include -#include -#include "zutil.h" -#include "inftrees.h" - -/* simplify the use of the inflate_huft type with some defines */ -#define exop word.what.Exop -#define bits word.what.Bits - -/* generate initialization table for an inflate_huft structure array */ -void maketree(uInt b, inflate_huft *t) -{ - int i, e; - - i = 0; - while (1) - { - e = t[i].exop; - if (e && (e & (16+64)) == 0) /* table pointer */ - { - fprintf(stderr, "maketree: cannot initialize sub-tables!\n"); - exit(1); - } - if (i % 4 == 0) - printf("\n "); - printf(" {{{%u,%u}},%u}", t[i].exop, t[i].bits, t[i].base); - if (++i == (1<