From: jsg Date: Sun, 16 May 2021 04:34:47 +0000 (+0000) Subject: ansi X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f5f28aa5f285a50854f51bf8d3896daade13485;p=openbsd ansi --- diff --git a/sys/lib/libz/zopenbsd.c b/sys/lib/libz/zopenbsd.c index 9dbd0e94a44..4e00ff545c4 100644 --- a/sys/lib/libz/zopenbsd.c +++ b/sys/lib/libz/zopenbsd.c @@ -5,17 +5,13 @@ * Space allocation and freeing routines for use by zlib routines. */ void * -zcalloc(notused, items, size) - void *notused; - u_int items, size; +zcalloc(void *notused, u_int items, u_int size) { return mallocarray(items, size, M_DEVBUF, M_NOWAIT); } void -zcfree(notused, ptr) - void *notused; - void *ptr; +zcfree(void *notused, void *ptr) { free(ptr, M_DEVBUF, 0); }