diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:21:47 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:21:47 -0700 |
commit | 7c2a874e50b871d04fbd19501f7b42cff55e5abc (patch) | |
tree | 1879cd29182ababb17cde77cee5ce74505db4006 /zutil.h | |
parent | a383133c4e7b93113cee912f213cf9502d785fa7 (diff) | |
download | zlib-1.2.0.tar.gz zlib-1.2.0.tar.bz2 zlib-1.2.0.zip |
zlib 1.2.0v1.2.0
Diffstat (limited to '')
-rw-r--r-- | zutil.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* zutil.h -- internal interface and configuration of the compression library | 1 | /* zutil.h -- internal interface and configuration of the compression library |
2 | * Copyright (C) 1995-2002 Jean-loup Gailly. | 2 | * Copyright (C) 1995-2003 Jean-loup Gailly. |
3 | * For conditions of distribution and use, see copyright notice in zlib.h | 3 | * For conditions of distribution and use, see copyright notice in zlib.h |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -37,7 +37,7 @@ typedef unsigned short ush; | |||
37 | typedef ush FAR ushf; | 37 | typedef ush FAR ushf; |
38 | typedef unsigned long ulg; | 38 | typedef unsigned long ulg; |
39 | 39 | ||
40 | extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ | 40 | extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ |
41 | /* (size given to avoid silly warnings with Visual C++) */ | 41 | /* (size given to avoid silly warnings with Visual C++) */ |
42 | 42 | ||
43 | #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] | 43 | #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)] |
@@ -207,8 +207,6 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ | |||
207 | #endif | 207 | #endif |
208 | 208 | ||
209 | 209 | ||
210 | typedef uLong (ZEXPORT *check_func) OF((uLong check, const Bytef *buf, | ||
211 | uInt len)); | ||
212 | voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); | 210 | voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size)); |
213 | void zcfree OF((voidpf opaque, voidpf ptr)); | 211 | void zcfree OF((voidpf opaque, voidpf ptr)); |
214 | 212 | ||