diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:34:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:34:25 +0000 |
commit | 70a9dbd1a5a305812354c332d729472bd2c06561 (patch) | |
tree | 063eba43441d0af27e5bfb6e4db4bd1ce0c4e545 /man.c | |
parent | 90913383a1a42f4ed3816d5206553df9db14e839 (diff) | |
download | mandoc-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |