summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-05-01 18:34:29 +0000
committerbapt <bapt@FreeBSD.org>2015-05-01 18:34:29 +0000
commit707b0e0acdf8db74e92a5fdb552dd80c1cabb964 (patch)
tree9b0e5eb6a7678853b9b1c0280cb9e048479d7bd4
parent7cbe6caeb177363da9e183a29f484f8c42aae51b (diff)
downloadFreeBSD-src-707b0e0acdf8db74e92a5fdb552dd80c1cabb964.zip
FreeBSD-src-707b0e0acdf8db74e92a5fdb552dd80c1cabb964.tar.gz
libc now has reallocarray
-rw-r--r--contrib/mdocml/config.h2
-rw-r--r--lib/libmandoc/Makefile2
2 files changed, 1 insertions, 3 deletions
diff --git a/contrib/mdocml/config.h b/contrib/mdocml/config.h
index b952c45..e7d3c63 100644
--- a/contrib/mdocml/config.h
+++ b/contrib/mdocml/config.h
@@ -12,7 +12,7 @@
#define HAVE_FTS 1
#define HAVE_GETSUBOPT 1
#define HAVE_MMAP 1
-#define HAVE_REALLOCARRAY 0
+#define HAVE_REALLOCARRAY 1
#define HAVE_STRCASESTR 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
diff --git a/lib/libmandoc/Makefile b/lib/libmandoc/Makefile
index 276c463..6529ea4 100644
--- a/lib/libmandoc/Makefile
+++ b/lib/libmandoc/Makefile
@@ -28,11 +28,9 @@ LIBROFF_SRCS= eqn.c \
tbl_layout.c \
tbl_opts.c
-COMPAT_SRCS= compat_reallocarray.c
SRCS= ${LIBMAN_SRCS} \
${LIBMDOC_SRCS} \
${LIBROFF_SRCS} \
- ${COMPAT_SRCS} \
chars.c \
mandoc.c \
mandoc_aux.c \
OpenPOWER on IntegriCloud