aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit28e0682df89260767e1ad5a3af0b93e504ae5290 (patch)
treee1bd4cc5ee13a989fdaa752597ae30a9a5710491 /man.c
parentacfef3c388fe4c84eaad68e8f398c7873f1bb732 (diff)
downloadmandoc-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 'man.c')
-rw-r--r--man.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/man.c b/man.c
index 608ef6cf..b4463170 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.156 2015/04/18 17:28:36 schwarze Exp $ */
+/* $Id: man.c,v 1.157 2015/04/18 17:53:21 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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)
{