artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dd68af
)
ansi
author
jsg
<jsg@openbsd.org>
Sun, 16 May 2021 04:34:47 +0000
(
04:34
+0000)
committer
jsg
<jsg@openbsd.org>
Sun, 16 May 2021 04:34:47 +0000
(
04:34
+0000)
sys/lib/libz/zopenbsd.c
patch
|
blob
|
history
diff --git
a/sys/lib/libz/zopenbsd.c
b/sys/lib/libz/zopenbsd.c
index
9dbd0e9
..
4e00ff5
100644
(file)
--- 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);
}