From 28e0682df89260767e1ad5a3af0b93e504ae5290 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Apr 2015 17:53:21 +0000 Subject: 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. --- mdoc.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index c3c36421..d0ccaa73 100644 --- a/mdoc.c +++ b/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.245 2015/04/18 17:28:36 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.246 2015/04/18 17:53:21 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012-2015 Ingo Schwarze @@ -93,20 +93,6 @@ static int mdoc_ptext(struct roff_man *, int, char *, int); static int mdoc_pmacro(struct roff_man *, int, char *, int); -const struct roff_node * -mdoc_node(const struct roff_man *mdoc) -{ - - return(mdoc->first); -} - -const struct roff_meta * -mdoc_meta(const struct roff_man *mdoc) -{ - - return(&mdoc->meta); -} - void mdoc_endparse(struct roff_man *mdoc) { -- cgit v1.2.3