aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit70a9dbd1a5a305812354c332d729472bd2c06561 (patch)
tree063eba43441d0af27e5bfb6e4db4bd1ce0c4e545 /man.c
parent90913383a1a42f4ed3816d5206553df9db14e839 (diff)
downloadmandoc-70a9dbd1a5a305812354c332d729472bd2c06561.tar.gz
mandoc-70a9dbd1a5a305812354c332d729472bd2c06561.tar.zst
mandoc-70a9dbd1a5a305812354c332d729472bd2c06561.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man.c b/man.c
index 29785f31..105dd9c1 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.153 2015/04/18 16:06:40 schwarze Exp $ */
+/* $Id: man.c,v 1.154 2015/04/18 16:34:25 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;