Undef reallocarray in util.h before declaration
In case we link against the OpenBSD-libc, we want to avoid collisions.
This commit is contained in:
parent
f1a1b7f994
commit
011c81b21b
1
util.h
1
util.h
@ -26,6 +26,7 @@ void apathmax(char **, size_t *);
|
|||||||
void *ecalloc(size_t, size_t);
|
void *ecalloc(size_t, size_t);
|
||||||
void *emalloc(size_t);
|
void *emalloc(size_t);
|
||||||
void *erealloc(void *, size_t);
|
void *erealloc(void *, size_t);
|
||||||
|
#undef reallocarray
|
||||||
void *reallocarray(void *, size_t, size_t);
|
void *reallocarray(void *, size_t, size_t);
|
||||||
void *ereallocarray(void *, size_t, size_t);
|
void *ereallocarray(void *, size_t, size_t);
|
||||||
char *estrdup(const char *);
|
char *estrdup(const char *);
|
||||||
|
Loading…
Reference in New Issue
Block a user