aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2017-04-28 00:22:43 -0500
committerBrent Cook <bcook@openbsd.org>2017-04-28 00:22:43 -0500
commit53fb56ea87be14453c366fa63fc3296ef0a3ebac (patch)
tree6b212cf96147af5f9e3724cfdefb33e2fa14cdd8 /include
parent7ec0510e33ed897b2d6421a6235c563f1953e210 (diff)
parent048625cf2b36a91bcf04c5a1adc02fc5803491ca (diff)
downloadportable-53fb56ea87be14453c366fa63fc3296ef0a3ebac.tar.gz
portable-53fb56ea87be14453c366fa63fc3296ef0a3ebac.tar.bz2
portable-53fb56ea87be14453c366fa63fc3296ef0a3ebac.zip
Land #306, add freezero
Diffstat (limited to 'include')
-rw-r--r--include/compat/stdlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/stdlib.h b/include/compat/stdlib.h
index 11f82ba..cc04856 100644
--- a/include/compat/stdlib.h
+++ b/include/compat/stdlib.h
@@ -25,6 +25,10 @@ void arc4random_buf(void *_buf, size_t n);
25uint32_t arc4random_uniform(uint32_t upper_bound); 25uint32_t arc4random_uniform(uint32_t upper_bound);
26#endif 26#endif
27 27
28#ifndef HAVE_FREEZERO
29void freezero(void *ptr, size_t sz);
30#endif
31
28#ifndef HAVE_REALLOCARRAY 32#ifndef HAVE_REALLOCARRAY
29void *reallocarray(void *, size_t, size_t); 33void *reallocarray(void *, size_t, size_t);
30#endif 34#endif