aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2019-05-10 11:06:51 -0500
committerBrent Cook <busterb@gmail.com>2019-05-10 11:09:18 -0500
commita2befe3383bd1c6dfe3950b5f6d835f3f750a68f (patch)
tree2f254da7e29cd72f42a77d5dbcdecd47010bbab6
parent6e2215c465448b68f35943713c36252f039dd950 (diff)
downloadportable-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.h2
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);
33const char * getprogname(void); 33const char * getprogname(void);
34#endif 34#endif
35 35
36#ifndef HAVE_REALLOCARRAY
37void *reallocarray(void *, size_t, size_t); 36void *reallocarray(void *, size_t, size_t);
38#endif
39 37
40#ifndef HAVE_RECALLOCARRAY 38#ifndef HAVE_RECALLOCARRAY
41void *recallocarray(void *, size_t, size_t, size_t); 39void *recallocarray(void *, size_t, size_t, size_t);