summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:06:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-18 16:06:39 +0000
commit87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3 (patch)
tree77e785e3111f4ee50958f980199ad642e4ff878d /tree.c
parent2b2bf499dc15caf698ef62f3186d475c99e996bc (diff)
downloadmandoc-87a05fb3c50ab6e9a1befb22c6e63e3e47f571f3.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index 91d24495..43753149 100644
--- a/tree.c
+++ b/tree.c
@@ -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);