aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:31:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-23 23:31:21 +0000
commit75be0c2dd9586fd71e039dcdee97da42303ae093 (patch)
tree2bf9d51f4351d39ce55fbb50301fdbcbdce001d6
parenta6843f2d1ecf58a3ec2d015f7d379f923fb14528 (diff)
downloadmandoc-75be0c2dd9586fd71e039dcdee97da42303ae093.tar.gz
mandoc-75be0c2dd9586fd71e039dcdee97da42303ae093.tar.zst
mandoc-75be0c2dd9586fd71e039dcdee97da42303ae093.zip
prototype for reallocarray()
-rw-r--r--config.h.post3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.post b/config.h.post
index 674c8c2a..fd59805e 100644
--- a/config.h.post
+++ b/config.h.post
@@ -32,6 +32,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