summaryrefslogtreecommitdiffstats
path: root/libmandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
commite0c8ee70b0d6b84f57714a5446e2ecfeca8826b4 (patch)
treea958c1c720cac88b7740009ea1436b5c356e1eb7 /libmandoc.h
parent6c9bf65b847eba6ae5bf1d6bf9d72a29550bf824 (diff)
downloadmandoc-e0c8ee70b0d6b84f57714a5446e2ecfeca8826b4.tar.gz
mdoc(7) already uses the mandoc(1) -Ios argument in the footer line
when .Os has no argument, so do the same for man(7) when .TH has less than four arguments; there is no reason to treat both differently. Issue found following a question from Thomas Klausner <wiz at NetBSD>.
Diffstat (limited to 'libmandoc.h')
-rw-r--r--libmandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmandoc.h b/libmandoc.h
index e5b52efd..71b9bb3f 100644
--- a/libmandoc.h
+++ b/libmandoc.h
@@ -66,7 +66,8 @@ void mdoc_addspan(struct mdoc *, const struct tbl_span *);
void mdoc_addeqn(struct mdoc *, const struct eqn *);
void man_free(struct man *);
-struct man *man_alloc(struct roff *, struct mparse *, int);
+struct man *man_alloc(struct roff *, struct mparse *,
+ const char *, int);
void man_reset(struct man *);
int man_parseln(struct man *, int, char *, int);
int man_endparse(struct man *);