aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2017-04-22 23:08:17 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2017-04-22 23:37:20 +0900
commit048625cf2b36a91bcf04c5a1adc02fc5803491ca (patch)
tree5f328c5237ea412b17c7c7f3d5c8132115c7e790 /include
parent9d2418ae3a0b9577fdea0bac90802d8c0147f7f4 (diff)
downloadportable-048625cf2b36a91bcf04c5a1adc02fc5803491ca.tar.gz
portable-048625cf2b36a91bcf04c5a1adc02fc5803491ca.tar.bz2
portable-048625cf2b36a91bcf04c5a1adc02fc5803491ca.zip
Add freezero support
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