aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.h.post
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:29:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:29:10 +0000
commitec5cb543148ad15ac4df5afd0fa549c831c14fb4 (patch)
tree3f99016933ac752bdef25f1016258fdce55483da /config.h.post
parent9f10dd5f33cce148235192dbbd1b66d6b84a60aa (diff)
downloadmandoc-ec5cb543148ad15ac4df5afd0fa549c831c14fb4.tar.gz
mandoc-ec5cb543148ad15ac4df5afd0fa549c831c14fb4.tar.zst
mandoc-ec5cb543148ad15ac4df5afd0fa549c831c14fb4.zip
prototype for reallocarray()
Diffstat (limited to 'config.h.post')
-rw-r--r--config.h.post3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.post b/config.h.post
index fe8f015e..f2d24297 100644
--- a/config.h.post
+++ b/config.h.post
@@ -20,6 +20,9 @@ extern char *fgetln(FILE *, size_t *);
extern int getsubopt(char **, char * const *, char **);
extern char *suboptarg;
#endif
+#ifndef HAVE_REALLOCARRAY
+extern void *reallocarray(void *, size_t, size_t);
+#endif
#ifndef HAVE_STRCASESTR
extern char *strcasestr(const char *, const char *);
#endif