diff options
author | Brent Cook <busterb@gmail.com> | 2019-05-10 11:06:51 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-05-10 11:09:18 -0500 |
commit | a2befe3383bd1c6dfe3950b5f6d835f3f750a68f (patch) | |
tree | 2f254da7e29cd72f42a77d5dbcdecd47010bbab6 | |
parent | 6e2215c465448b68f35943713c36252f039dd950 (diff) | |
download | portable-a2befe3383bd1c6dfe3950b5f6d835f3f750a68f.tar.gz portable-a2befe3383bd1c6dfe3950b5f6d835f3f750a68f.tar.bz2 portable-a2befe3383bd1c6dfe3950b5f6d835f3f750a68f.zip |
unconditionally define reallocarray
deal with systems missing it but with it exported as a symbol
Diffstat (limited to '')
-rw-r--r-- | include/compat/stdlib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/compat/stdlib.h b/include/compat/stdlib.h index e629884..2eaea24 100644 --- a/include/compat/stdlib.h +++ b/include/compat/stdlib.h | |||
@@ -33,9 +33,7 @@ void freezero(void *ptr, size_t sz); | |||
33 | const char * getprogname(void); | 33 | const char * getprogname(void); |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #ifndef HAVE_REALLOCARRAY | ||
37 | void *reallocarray(void *, size_t, size_t); | 36 | void *reallocarray(void *, size_t, size_t); |
38 | #endif | ||
39 | 37 | ||
40 | #ifndef HAVE_RECALLOCARRAY | 38 | #ifndef HAVE_RECALLOCARRAY |
41 | void *recallocarray(void *, size_t, size_t, size_t); | 39 | void *recallocarray(void *, size_t, size_t, size_t); |