diff options
Diffstat (limited to 'zutil.h')
-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 | ||