summaryrefslogtreecommitdiffstats
path: root/lib/zlib/zutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib/zutil.c')
-rw-r--r--lib/zlib/zutil.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/zlib/zutil.c b/lib/zlib/zutil.c
index 65f9554747..14f6eb1e07 100644
--- a/lib/zlib/zutil.c
+++ b/lib/zlib/zutil.c
@@ -49,10 +49,7 @@ extern voidp calloc OF((uInt items, uInt size));
extern void free OF((voidpf ptr));
#endif
-voidpf zcalloc (opaque, items, size)
- voidpf opaque;
- unsigned items;
- unsigned size;
+voidpf zcalloc(voidpf opaque, unsigned items, unsigned size)
{
if (opaque)
items += size - size; /* make compiler happy */
@@ -60,10 +57,7 @@ voidpf zcalloc (opaque, items, size)
(voidpf)calloc(items, size);
}
-void zcfree (opaque, ptr, nb)
- voidpf opaque;
- voidpf ptr;
- unsigned nb;
+void zcfree(voidpf opaque, voidpf ptr, unsigned nb)
{
free(ptr);
if (opaque)
OpenPOWER on IntegriCloud