diff options
Diffstat (limited to 'libc/upstream-openbsd/android')
-rw-r--r-- | libc/upstream-openbsd/android/include/openbsd-compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index 820626956..2fc5046ad 100644 --- a/libc/upstream-openbsd/android/include/openbsd-compat.h +++ b/libc/upstream-openbsd/android/include/openbsd-compat.h @@ -72,3 +72,7 @@ __LIBC_HIDDEN__ extern const char* __bionic_get_shell_path(); __LIBC_HIDDEN__ extern char* __findenv(const char*, int, int*); __LIBC_HIDDEN__ extern char* _mktemp(char*); + +// Only OpenBSD has this at the moment, and we're more likely to just say +// "malloc is always calloc", so we don't expose this as libc API. +__LIBC_HIDDEN__ void* recallocarray(void*, size_t, size_t, size_t); |