aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/zutil.h b/zutil.h
index 0bc7f4e..902a304 100644
--- a/zutil.h
+++ b/zutil.h
@@ -191,9 +191,9 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
191/* provide prototypes for these when building zlib without LFS */ 191/* provide prototypes for these when building zlib without LFS */
192#if !defined(_WIN32) && \ 192#if !defined(_WIN32) && \
193 (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) 193 (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0)
194 ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t)); 194 ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off_t);
195 ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t)); 195 ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off_t);
196 ZEXTERN uLong ZEXPORT crc32_combine_gen64 OF((z_off_t)); 196 ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off_t);
197#endif 197#endif
198 198
199 /* common defaults */ 199 /* common defaults */
@@ -232,16 +232,16 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
232# define zmemzero(dest, len) memset(dest, 0, len) 232# define zmemzero(dest, len) memset(dest, 0, len)
233# endif 233# endif
234#else 234#else
235 void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len)); 235 void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len);
236 int ZLIB_INTERNAL zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len)); 236 int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len);
237 void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len)); 237 void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len);
238#endif 238#endif
239 239
240/* Diagnostic functions */ 240/* Diagnostic functions */
241#ifdef ZLIB_DEBUG 241#ifdef ZLIB_DEBUG
242# include <stdio.h> 242# include <stdio.h>
243 extern int ZLIB_INTERNAL z_verbose; 243 extern int ZLIB_INTERNAL z_verbose;
244 extern void ZLIB_INTERNAL z_error OF((char *m)); 244 extern void ZLIB_INTERNAL z_error(char *m);
245# define Assert(cond,msg) {if(!(cond)) z_error(msg);} 245# define Assert(cond,msg) {if(!(cond)) z_error(msg);}
246# define Trace(x) {if (z_verbose>=0) fprintf x ;} 246# define Trace(x) {if (z_verbose>=0) fprintf x ;}
247# define Tracev(x) {if (z_verbose>0) fprintf x ;} 247# define Tracev(x) {if (z_verbose>0) fprintf x ;}
@@ -258,9 +258,9 @@ extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
258#endif 258#endif
259 259
260#ifndef Z_SOLO 260#ifndef Z_SOLO
261 voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items, 261 voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items,
262 unsigned size)); 262 unsigned size);
263 void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr)); 263 void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr);
264#endif 264#endif
265 265
266#define ZALLOC(strm, items, size) \ 266#define ZALLOC(strm, items, size) \