aboutsummaryrefslogtreecommitdiff
path: root/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.c')
-rw-r--r--zutil.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/zutil.c b/zutil.c
index dcab28a..ec2edac 100644
--- a/zutil.c
+++ b/zutil.c
@@ -119,7 +119,7 @@ uLong ZEXPORT zlibCompileFlags()
119# endif 119# endif
120int ZLIB_INTERNAL z_verbose = verbose; 120int ZLIB_INTERNAL z_verbose = verbose;
121 121
122void ZLIB_INTERNAL z_error (m) 122void ZLIB_INTERNAL z_error(m)
123 char *m; 123 char *m;
124{ 124{
125 fprintf(stderr, "%s\n", m); 125 fprintf(stderr, "%s\n", m);
@@ -214,7 +214,7 @@ local ptr_table table[MAX_PTR];
214 * a protected system like OS/2. Use Microsoft C instead. 214 * a protected system like OS/2. Use Microsoft C instead.
215 */ 215 */
216 216
217voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) 217voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, unsigned items, unsigned size)
218{ 218{
219 voidpf buf; 219 voidpf buf;
220 ulg bsize = (ulg)items*size; 220 ulg bsize = (ulg)items*size;
@@ -240,7 +240,7 @@ voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size)
240 return buf; 240 return buf;
241} 241}
242 242
243void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) 243void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
244{ 244{
245 int n; 245 int n;
246 246
@@ -277,13 +277,13 @@ void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr)
277# define _hfree hfree 277# define _hfree hfree
278#endif 278#endif
279 279
280voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) 280voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size)
281{ 281{
282 (void)opaque; 282 (void)opaque;
283 return _halloc((long)items, size); 283 return _halloc((long)items, size);
284} 284}
285 285
286void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) 286void ZLIB_INTERNAL zcfree(voidpf opaque, voidpf ptr)
287{ 287{
288 (void)opaque; 288 (void)opaque;
289 _hfree(ptr); 289 _hfree(ptr);
@@ -302,7 +302,7 @@ extern voidp calloc OF((uInt items, uInt size));
302extern void free OF((voidpf ptr)); 302extern void free OF((voidpf ptr));
303#endif 303#endif
304 304
305voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) 305voidpf ZLIB_INTERNAL zcalloc(opaque, items, size)
306 voidpf opaque; 306 voidpf opaque;
307 unsigned items; 307 unsigned items;
308 unsigned size; 308 unsigned size;
@@ -312,7 +312,7 @@ voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
312 (voidpf)calloc(items, size); 312 (voidpf)calloc(items, size);
313} 313}
314 314
315void ZLIB_INTERNAL zcfree (opaque, ptr) 315void ZLIB_INTERNAL zcfree(opaque, ptr)
316 voidpf opaque; 316 voidpf opaque;
317 voidpf ptr; 317 voidpf ptr;
318{ 318{