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 | d4d5d006d52687c2882e89b913c70967626da0e1 (patch) | |
tree | bc16a6725a85bb2b430e2ac2de6f2a83721bb6a8 /demandoc.c | |
parent | afd3f3a3f381e6bd5e6803a730f57302dd9234d2 (diff) | |
download | mandoc-d4d5d006d52687c2882e89b913c70967626da0e1.tar.gz |
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 'demandoc.c')
-rw-r--r-- | demandoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -121,9 +121,9 @@ pmandoc(struct mparse *mp, int fd, const char *fn, int list) if (man == NULL) return; if (man->macroset == MACROSET_MDOC) - pmdoc(mdoc_node(man), &line, &col, list); + pmdoc(man->first->child, &line, &col, list); else - pman(man_node(man), &line, &col, list); + pman(man->first->child, &line, &col, list); if ( ! list) putchar('\n'); |