Add freezero support

This commit is contained in:
kinichiro
2017-04-22 23:08:17 +09:00
parent 9d2418ae3a
commit 048625cf2b
6 changed files with 33 additions and 2 deletions

View File

@@ -25,6 +25,10 @@ void arc4random_buf(void *_buf, size_t n);
uint32_t arc4random_uniform(uint32_t upper_bound);
#endif
#ifndef HAVE_FREEZERO
void freezero(void *ptr, size_t sz);
#endif
#ifndef HAVE_REALLOCARRAY
void *reallocarray(void *, size_t, size_t);
#endif