summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:34:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:34:25 +0000
commit19dfb5cab356150bf46d159f43ead732a6a6ade5 (patch)
tree79243b72064d2dfc284d040592d6f69b6a983ad7 /man.c
parent87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3 (diff)
downloadmandoc-19dfb5cab356150bf46d159f43ead732a6a6ade5.tar.gz
Profit from the unified struct roff_man and reduce the number of
arguments of mparse_result() by one. No functional change. Written on the ICE Bruxelles-Koeln on the way back from p2k15.
Diffstat (limited to 'man.c')
-rw-r--r--man.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/man.c b/man.c
index b01eefa4..337f9a99 100644
--- a/man.c
+++ b/man.c
@@ -149,6 +149,7 @@ man_alloc1(struct roff_man *man)
{
memset(&man->meta, 0, sizeof(man->meta));
+ man->macroset = MACROSET_MAN;
man->flags = 0;
man->last = mandoc_calloc(1, sizeof(*man->last));
man->first = man->last;