From 1f5f28aa5f285a50854f51bf8d3896daade13485 Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 16 May 2021 04:34:47 +0000 Subject: [PATCH] ansi --- sys/lib/libz/zopenbsd.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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); } -- 2.20.1