=================================================================== RCS file: /cvs/mandoc/mdoc.c,v retrieving revision 1.192 retrieving revision 1.193 diff -u -p -r1.192 -r1.193 --- mandoc/mdoc.c 2011/07/27 07:09:41 1.192 +++ mandoc/mdoc.c 2011/07/27 12:41:02 1.193 @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.192 2011/07/27 07:09:41 kristaps Exp $ */ +/* $Id: mdoc.c,v 1.193 2011/07/27 12:41:02 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -97,7 +97,9 @@ static struct mdoc_node *node_alloc(struct mdoc *, int enum mdoct, enum mdoc_type); static int node_append(struct mdoc *, struct mdoc_node *); +#if 0 static int mdoc_preptext(struct mdoc *, int, char *, int); +#endif static int mdoc_ptext(struct mdoc *, int, char *, int); static int mdoc_pmacro(struct mdoc *, int, char *, int); @@ -300,7 +302,7 @@ mdoc_parseln(struct mdoc *m, int ln, char *buf, int of return(mandoc_getcontrol(buf, &offs) ? mdoc_pmacro(m, ln, buf, offs) : - mdoc_preptext(m, ln, buf, offs)); + mdoc_ptext(m, ln, buf, offs)); } int @@ -651,6 +653,7 @@ mdoc_node_delete(struct mdoc *m, struct mdoc_node *p) mdoc_node_free(p); } +#if 0 /* * Pre-treat a text line. * Text lines can consist of equations, which must be handled apart from @@ -702,6 +705,7 @@ mdoc_preptext(struct mdoc *m, int line, char *buf, int return(1); } +#endif /* * Parse free-form text, that is, a line that does not begin with the