diff options
author | 2015-04-18 17:50:02 +0000 | |
---|---|---|
committer | 2015-04-18 17:50:02 +0000 | |
commit | 6d0e9b63214a57d2a8d4601ae6d64f62e423da8e (patch) | |
tree | eee7efbc5bd98f8b0732368ef1fe23a587089815 /usr.bin/mandoc/man.c | |
parent | Unify {mdoc,man}_{alloc,reset,free}() into roff_man_{alloc,reset,free}(). (diff) | |
download | wireguard-openbsd-6d0e9b63214a57d2a8d4601ae6d64f62e423da8e.tar.xz wireguard-openbsd-6d0e9b63214a57d2a8d4601ae6d64f62e423da8e.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 'usr.bin/mandoc/man.c')
-rw-r--r-- | usr.bin/mandoc/man.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c index 950e7318f95..f5ce4c45aa5 100644 --- a/usr.bin/mandoc/man.c +++ b/usr.bin/mandoc/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.104 2015/04/18 17:28:08 schwarze Exp $ */ +/* $OpenBSD: man.c,v 1.105 2015/04/18 17:50:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -60,20 +60,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) { |