zlib migration part III

This commit is contained in:
James Turk 2003-10-13 21:07:33 +00:00
parent 4300a6bad2
commit 314ca97f05
17 changed files with 77 additions and 77 deletions

View File

@ -3,9 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: adler32.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: adler32.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "zlib.h"
#include "zlib/zlib.h"
#define BASE 65521L /* largest prime smaller than 65536 */
#define NMAX 5552

View File

@ -3,9 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: compress.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: compress.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "zlib.h"
#include "zlib/zlib.h"
/* ===========================================================================
Compresses the source buffer into the destination buffer. The level

View File

@ -3,9 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: crc32.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: crc32.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "zlib.h"
#include "zlib/zlib.h"
#define local static

View File

@ -47,9 +47,9 @@
*
*/
/* @(#) $Id: deflate.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: deflate.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "deflate.h"
#include "zlib/deflate.h"
const char deflate_copyright[] =
" deflate 1.1.4 Copyright 1995-2002 Jean-loup Gailly ";

View File

@ -5,11 +5,11 @@
* Compile this file with -DNO_DEFLATE to avoid the compression code.
*/
/* @(#) $Id: gzio.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: gzio.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include <stdio.h>
#include "zutil.h"
#include "zlib/zutil.h"
struct internal_state {int dummy;}; /* for buggy compilers */

View File

@ -3,11 +3,11 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "infblock.h"
#include "inftrees.h"
#include "infcodes.h"
#include "infutil.h"
#include "zlib/zutil.h"
#include "zlib/infblock.h"
#include "zlib/inftrees.h"
#include "zlib/infcodes.h"
#include "zlib/infutil.h"
struct inflate_codes_state {int dummy;}; /* for buggy compilers */

View File

@ -3,12 +3,12 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"
#include "inffast.h"
#include "zlib/zutil.h"
#include "zlib/inftrees.h"
#include "zlib/infblock.h"
#include "zlib/infcodes.h"
#include "zlib/infutil.h"
#include "zlib/inffast.h"
/* simplify the use of the inflate_huft type with some defines */
#define exop word.what.Exop

View File

@ -3,12 +3,12 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"
#include "inffast.h"
#include "zlib/zutil.h"
#include "zlib/inftrees.h"
#include "zlib/infblock.h"
#include "zlib/infcodes.h"
#include "zlib/infutil.h"
#include "zlib/inffast.h"
struct inflate_codes_state {int dummy;}; /* for buggy compilers */

View File

@ -3,8 +3,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "infblock.h"
#include "zlib/zutil.h"
#include "zlib/infblock.h"
struct inflate_blocks_state {int dummy;}; /* for buggy compilers */

View File

@ -3,8 +3,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "inftrees.h"
#include "zlib/zutil.h"
#include "zlib/inftrees.h"
#if !defined(BUILDFIXED) && !defined(STDC)
# define BUILDFIXED /* non ANSI compilers may not accept inffixed.h */
@ -391,7 +391,7 @@ local uInt fixed_bd;
local inflate_huft *fixed_tl;
local inflate_huft *fixed_td;
#else
#include "inffixed.h"
#include "zlib/inffixed.h"
#endif

View File

@ -3,11 +3,11 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#include "zutil.h"
#include "infblock.h"
#include "inftrees.h"
#include "infcodes.h"
#include "infutil.h"
#include "zlib/zutil.h"
#include "zlib/infblock.h"
#include "zlib/inftrees.h"
#include "zlib/infcodes.h"
#include "zlib/infutil.h"
struct inflate_codes_state {int dummy;}; /* for buggy compilers */

View File

@ -17,8 +17,8 @@
#include <stdio.h>
#include <stdlib.h>
#include "zutil.h"
#include "inftrees.h"
#include "zlib/zutil.h"
#include "zlib/inftrees.h"
/* simplify the use of the inflate_huft type with some defines */
#define exop word.what.Exop

View File

@ -29,11 +29,11 @@
* Addison-Wesley, 1983. ISBN 0-201-06672-6.
*/
/* @(#) $Id: trees.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: trees.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
/* #define GEN_TREES_H */
#include "deflate.h"
#include "zlib/deflate.h"
#ifdef DEBUG
# include <ctype.h>
@ -115,7 +115,7 @@ local int base_dist[D_CODES];
/* First normalized distance for each code (0 = distance of 1) */
#else
# include "trees.h"
# include "zlib/trees.h"
#endif /* GEN_TREES_H */
struct static_tree_desc_s {

View File

@ -3,9 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: uncompr.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: uncompr.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "zlib.h"
#include "zlib/zlib.h"
/* ===========================================================================
Decompresses the source buffer into the destination buffer. sourceLen is

View File

@ -8,8 +8,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "zlib.h"
#include "unzip.h"
#include "zlib/zlib.h"
#include "zlib/unzip.h"
#ifdef STDC
# include <stddef.h>

View File

@ -3,9 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: zutil.c,v 1.1 2003/10/13 21:01:25 cozman Exp $ */
/* @(#) $Id: zutil.c,v 1.2 2003/10/13 21:07:33 cozman Exp $ */
#include "zutil.h"
#include "zlib/zutil.h"
struct internal_state {int dummy;}; /* for buggy compilers */

View File

@ -21,7 +21,7 @@
Optimization="2"
InlineFunctionExpansion="1"
OmitFramePointers="TRUE"
AdditionalIncludeDirectories="../include;../zlib"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
StringPooling="TRUE"
RuntimeLibrary="2"
@ -158,46 +158,46 @@
<Filter
Name="Header Files">
<File
RelativePath="..\zlib\deflate.h">
RelativePath="..\include\zlib\deflate.h">
</File>
<File
RelativePath="..\zlib\infblock.h">
RelativePath="..\include\zlib\infblock.h">
</File>
<File
RelativePath="..\zlib\infcodes.h">
RelativePath="..\include\zlib\infcodes.h">
</File>
<File
RelativePath="..\zlib\inffast.h">
RelativePath="..\include\zlib\inffast.h">
</File>
<File
RelativePath="..\zlib\inffixed.h">
RelativePath="..\include\zlib\inffixed.h">
</File>
<File
RelativePath="..\zlib\inftrees.h">
RelativePath="..\include\zlib\inftrees.h">
</File>
<File
RelativePath="..\zlib\infutil.h">
RelativePath="..\include\zlib\infutil.h">
</File>
<File
RelativePath="..\zlib\trees.h">
RelativePath="..\include\zlib\trees.h">
</File>
<File
RelativePath="..\zlib\unzip.h">
RelativePath="..\include\zlib\unzip.h">
</File>
<File
RelativePath="..\zlib\zconf.h">
RelativePath="..\include\zlib\zconf.h">
</File>
<File
RelativePath="..\zlib\zlib.h">
RelativePath="..\include\zlib\zlib.h">
</File>
<File
RelativePath="..\zlib\zutil.h">
RelativePath="..\include\zlib\zutil.h">
</File>
</Filter>
<Filter
Name="Source Files">
<File
RelativePath="..\zlib\adler32.c">
RelativePath="..\src\zlib\adler32.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -206,7 +206,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\compress.c">
RelativePath="..\src\zlib\compress.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -215,7 +215,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\crc32.c">
RelativePath="..\src\zlib\crc32.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -224,7 +224,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\deflate.c">
RelativePath="..\src\zlib\deflate.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -233,7 +233,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\gzio.c">
RelativePath="..\src\zlib\gzio.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -242,7 +242,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\infblock.c">
RelativePath="..\src\zlib\infblock.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -251,7 +251,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\infcodes.c">
RelativePath="..\src\zlib\infcodes.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -260,7 +260,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\inffast.c">
RelativePath="..\src\zlib\inffast.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -269,7 +269,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\inflate.c">
RelativePath="..\src\zlib\inflate.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -278,7 +278,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\inftrees.c">
RelativePath="..\src\zlib\inftrees.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -287,7 +287,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\infutil.c">
RelativePath="..\src\zlib\infutil.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -296,7 +296,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\maketree.c">
RelativePath="..\src\zlib\maketree.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -305,7 +305,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\trees.c">
RelativePath="..\src\zlib\trees.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -314,7 +314,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\uncompr.c">
RelativePath="..\src\zlib\uncompr.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -323,7 +323,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\unzip.c">
RelativePath="..\src\zlib\unzip.c">
<FileConfiguration
Name="Release|Win32">
<Tool
@ -332,7 +332,7 @@
</FileConfiguration>
</File>
<File
RelativePath="..\zlib\zutil.c">
RelativePath="..\src\zlib\zutil.c">
<FileConfiguration
Name="Release|Win32">
<Tool