summaryrefslogtreecommitdiffstats
path: root/contrib/mdocml/config.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-01-15 23:28:12 +0000
committerbapt <bapt@FreeBSD.org>2016-01-15 23:28:12 +0000
commite1581ec0f03f2f2c260785ce05fca5a98c8d65b4 (patch)
treeae81f04244baa70cf59bab257864c9dd79596a69 /contrib/mdocml/config.h
parentcb734ceab666d0372162796ee007f4777451d293 (diff)
parente15bccbf37b1a75c96083f38f1d7580cfa8aa1ea (diff)
downloadFreeBSD-src-e1581ec0f03f2f2c260785ce05fca5a98c8d65b4.zip
FreeBSD-src-e1581ec0f03f2f2c260785ce05fca5a98c8d65b4.tar.gz
Update mandoc to 20160116
Diffstat (limited to 'contrib/mdocml/config.h')
-rw-r--r--contrib/mdocml/config.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/contrib/mdocml/config.h b/contrib/mdocml/config.h
index e7d3c63..6252b8a 100644
--- a/contrib/mdocml/config.h
+++ b/contrib/mdocml/config.h
@@ -1,3 +1,7 @@
+#ifdef __cplusplus
+#error "Do not use C++. See the INSTALL file."
+#endif
+
#ifndef MANDOC_CONFIG_H
#define MANDOC_CONFIG_H
@@ -6,19 +10,30 @@
#endif
#include <sys/types.h>
+#include <stdio.h>
+#define MAN_CONF_FILE "/etc/man.conf"
#define HAVE_DIRENT_NAMLEN 1
-#define HAVE_FGETLN 1
+#define HAVE_ERR 1
#define HAVE_FTS 1
+#define HAVE_GETLINE 1
#define HAVE_GETSUBOPT 1
+#define HAVE_ISBLANK 1
+#define HAVE_MKDTEMP 1
#define HAVE_MMAP 1
+#define HAVE_PLEDGE 0
+#define HAVE_PROGNAME 1
#define HAVE_REALLOCARRAY 1
+#define HAVE_REWB_BSD 0
+#define HAVE_REWB_SYSV 0
#define HAVE_STRCASESTR 1
+#define HAVE_STRINGLIST 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
#define HAVE_STRPTIME 1
#define HAVE_STRSEP 1
#define HAVE_STRTONUM 1
+#define HAVE_VASPRINTF 1
#define HAVE_WCHAR 1
#define HAVE_SQLITE3 1
#define HAVE_SQLITE3_ERRSTR 0
@@ -26,26 +41,12 @@
#define HAVE_MANPATH 1
#define BINM_APROPOS "apropos"
+#define BINM_MAKEWHATIS "makewhatis"
#define BINM_MAN "man"
+#define BINM_SOELIM "soelim"
#define BINM_WHATIS "whatis"
-#define BINM_MAKEWHATIS "makewhatis"
-
-#if !defined(__BEGIN_DECLS)
-# ifdef __cplusplus
-# define __BEGIN_DECLS extern "C" {
-# else
-# define __BEGIN_DECLS
-# endif
-#endif
-#if !defined(__END_DECLS)
-# ifdef __cplusplus
-# define __END_DECLS }
-# else
-# define __END_DECLS
-# endif
-#endif
-extern void *reallocarray(void *, size_t, size_t);
+extern ssize_t getline(char **, size_t *, FILE *);
extern const char *sqlite3_errstr(int);
#endif /* MANDOC_CONFIG_H */
OpenPOWER on IntegriCloud