=================================================================== RCS file: /cvs/mandoc/mdoc.c,v retrieving revision 1.249 retrieving revision 1.251 diff -u -p -r1.249 -r1.251 --- mandoc/mdoc.c 2015/04/19 14:25:41 1.249 +++ mandoc/mdoc.c 2015/04/23 15:35:59 1.251 @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.249 2015/04/19 14:25:41 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.251 2015/04/23 15:35:59 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012-2015 Ingo Schwarze @@ -89,13 +89,6 @@ static int mdoc_ptext(struct roff_man *, int, char static int mdoc_pmacro(struct roff_man *, int, char *, int); -void -mdoc_endparse(struct roff_man *mdoc) -{ - - mdoc_macroend(mdoc); -} - /* * Main parse routine. Parses a single line -- really just hands off to * the macro (mdoc_pmacro()) or text parser (mdoc_ptext()). @@ -329,7 +322,7 @@ mdoc_ptext(struct roff_man *mdoc, int line, char *buf, * blank lines aren't allowed, but enough manuals assume this * behaviour that we want to work around it. */ - mdoc_elem_alloc(mdoc, line, offs, MDOC_sp, NULL); + roff_elem_alloc(mdoc, line, offs, MDOC_sp); mdoc->next = ROFF_NEXT_SIBLING; mdoc_valid_post(mdoc); return(1);