=================================================================== RCS file: /cvs/mandoc/tree.c,v retrieving revision 1.64 retrieving revision 1.66 diff -u -p -r1.64 -r1.66 --- mandoc/tree.c 2015/04/02 22:48:18 1.64 +++ mandoc/tree.c 2015/04/18 17:53:21 1.66 @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.64 2015/04/02 22:48:18 schwarze Exp $ */ +/* $Id: tree.c,v 1.66 2015/04/18 17:53:21 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -38,17 +38,17 @@ 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); + print_mdoc(mdoc->first->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); + print_man(man->first->child, 0); } static void