summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 14:44:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 14:44:41 +0000
commitf82ca09664d8b4073d7c379ea5f4867714423c93 (patch)
tree73e774afc63c966ed977b8a6a6c3121a7f83399a /mdoc_term.c
parent2b3f9168554bb673c8ddd5e40dc88253f5e8d999 (diff)
downloadmandoc-f82ca09664d8b4073d7c379ea5f4867714423c93.tar.gz
Fixed after-NLINE-error assertion.
Scanned over all manuals with valgrind. Version up.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 71124804..8551608e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -306,6 +306,11 @@ static const struct termact termacts[MDOC_MAX] = {
{ NULL, NULL }, /* %Q */
};
+#ifdef __linux__
+extern size_t strlcpy(char *, const char *, size_t);
+extern size_t strlcat(char *, const char *, size_t);
+#endif
+
static int arg_hasattr(int, const struct mdoc_node *);
static int arg_getattrs(const int *, int *, size_t,
const struct mdoc_node *);