diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-05-16 04:34:48 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-05-16 04:34:48 +0000 |
commit | 34cd7816d9f96bcd35252b41f149459ca2cab85b (patch) | |
tree | 6cdf60ecfdfbb6fa164b88c5f5e0f99ddcc4eb3e | |
parent | 0dc6c9f8e8248e3049a36175abaaab01cd4464d1 (diff) |
ansi
-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); } |