summaryrefslogtreecommitdiffstatshomepage
path: root/man_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
commitf9a4c0556641ef6c4137e3b06cf137bb9f8e7dab (patch)
tree038178247a2c74ef393109e33d786b51aa86d493 /man_term.c
parent080c584ff1e9cef269b4c220a099f4fb842e538c (diff)
downloadmandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.tar.gz
mandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.tar.zst
mandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.zip
Fixed after-NLINE-error assertion.
Scanned over all manuals with valgrind. Version up.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index d5d95edc..7d1ff159 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.1 2009/03/26 14:38:11 kristaps Exp $ */
+/* $Id: man_term.c,v 1.2 2009/03/26 14:44:41 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -25,6 +25,11 @@
#include "term.h"
#include "man.h"
+#ifdef __linux__
+extern size_t strlcpy(char *, const char *, size_t);
+extern size_t strlcat(char *, const char *, size_t);
+#endif
+
#define DECL_ARGS struct termp *p, \
const struct man_node *n, \
const struct man_meta *m