diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 16:06:39 +0000 |
commit | 90913383a1a42f4ed3816d5206553df9db14e839 (patch) | |
tree | 0e3fb00ff7803497b660d3b23646ab4b955be4f3 /tree.c | |
parent | 98e0e3ab0d2ae5d7be8016bbad59fa3a08d34b66 (diff) | |
download | mandoc-90913383a1a42f4ed3816d5206553df9db14e839.tar.gz mandoc-90913383a1a42f4ed3816d5206553df9db14e839.tar.zst mandoc-90913383a1a42f4ed3816d5206553df9db14e839.zip |
Replace the structs mdoc and man by a unified struct roff_man.
Almost completely mechanical, no functional change.
Written on the train from Exeter to London returning from p2k15.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.64 2015/04/02 22:48:18 schwarze Exp $ */ +/* $Id: tree.c,v 1.65 2015/04/18 16:06:41 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -38,14 +38,14 @@ static void print_span(const struct tbl_span *, int); void -tree_mdoc(void *arg, const struct mdoc *mdoc) +tree_mdoc(void *arg, const struct roff_man *mdoc) { print_mdoc(mdoc_node(mdoc)->child, 0); } void -tree_man(void *arg, const struct man *man) +tree_man(void *arg, const struct roff_man *man) { print_man(man_node(man)->child, 0); |