diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 17:53:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-18 17:53:21 +0000 |
commit | 28e0682df89260767e1ad5a3af0b93e504ae5290 (patch) | |
tree | e1bd4cc5ee13a989fdaa752597ae30a9a5710491 /tree.c | |
parent | acfef3c388fe4c84eaad68e8f398c7873f1bb732 (diff) | |
download | mandoc-28e0682df89260767e1ad5a3af0b93e504ae5290.tar.gz mandoc-28e0682df89260767e1ad5a3af0b93e504ae5290.tar.zst mandoc-28e0682df89260767e1ad5a3af0b93e504ae5290.zip |
Delete the wrapper functions mdoc_meta(), man_meta(), mdoc_node(),
man_node() from the mandoc(3) semi-public interface and the internal
wrapper functions print_mdoc() and print_man() from the HTML formatters.
Minus 60 lines of code, no functional change.
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.65 2015/04/18 16:06:41 schwarze Exp $ */ +/* $Id: tree.c,v 1.66 2015/04/18 17:53:21 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -41,14 +41,14 @@ void 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 roff_man *man) { - print_man(man_node(man)->child, 0); + print_man(man->first->child, 0); } static void |