X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib%2Fzlib%2Fzutil.c;h=14f6eb1e07d9d65a20231119d693231d1ed49c1a;hb=b892465dae6afc5528724c044991a76f241cd177;hp=65f9554747b3f4936af75949da5fbe4e62ef0eb0;hpb=aeabdeb7a33c9cff9ae0cd804521d0d691a7c341;p=u-boot 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)