diff options
-rw-r--r-- | sys/lib/libz/zopenbsd.c | 8 |
1 files 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); } |