summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-18 17:53:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-18 17:53:21 +0000
commitd4d5d006d52687c2882e89b913c70967626da0e1 (patch)
treebc16a6725a85bb2b430e2ac2de6f2a83721bb6a8 /man.c
parentafd3f3a3f381e6bd5e6803a730f57302dd9234d2 (diff)
downloadmandoc-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 'man.c')
-rw-r--r--man.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/man.c b/man.c
index ba0af269..601e8348 100644
--- a/man.c
+++ b/man.c
@@ -62,20 +62,6 @@ static int man_ptext(struct roff_man *, int, char *, int);
static int man_pmacro(struct roff_man *, int, char *, int);
-const struct roff_node *
-man_node(const struct roff_man *man)
-{
-
- return(man->first);
-}
-
-const struct roff_meta *
-man_meta(const struct roff_man *man)
-{
-
- return(&man->meta);
-}
-
void
man_endparse(struct roff_man *man)
{