diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-11-18 14:09:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-11-18 14:09:17 +0000 |
commit | 9bba26f8c53e8bf90daf5330bf959b3ce1f70426 (patch) | |
tree | 7089c31b2cc70a7ff781e3815bd608045c696192 /compat.h | |
parent | 8fa822b52106ddb80a33a81ecfbe3c5dea793f31 (diff) |
Add reallocarray prototype.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -255,13 +255,18 @@ int unsetenv(const char *); #ifndef HAVE_CFMAKERAW /* cfmakeraw.c */ -void cfmakeraw(struct termios *); +void cfmakeraw(struct termios *); #endif #ifndef HAVE_OPENAT /* openat.c */ #define AT_FDCWD -100 -int openat(int, const char *, int, ...); +int openat(int, const char *, int, ...); +#endif + +#ifndef HAVE_REALLOCARRAY +/* reallocarray.c */ +void *reallocarray(void *, size_t, size_t size); #endif #ifdef HAVE_GETOPT |