summaryrefslogtreecommitdiffstats
path: root/contrib/mdocml/config.h
diff options
context:
space:
mode:
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