diff options
-rw-r--r-- | libman.h | 1 | ||||
-rw-r--r-- | libmdoc.h | 1 | ||||
-rw-r--r-- | man.c | 7 | ||||
-rw-r--r-- | man_macro.c | 3 | ||||
-rw-r--r-- | mdoc.c | 7 | ||||
-rw-r--r-- | mdoc_macro.c | 2 |
6 files changed, 2 insertions, 19 deletions
@@ -37,7 +37,6 @@ extern const struct man_macro *const man_macros; __BEGIN_DECLS int man_hash_find(const char *); -void man_macroend(struct roff_man *); void man_valid_post(struct roff_man *); void man_unscope(struct roff_man *, const struct roff_node *); @@ -84,7 +84,6 @@ void mdoc_argv(struct roff_man *, int, int, struct mdoc_arg **, int *, char *); enum margserr mdoc_args(struct roff_man *, int, int *, char *, int, char **); -void mdoc_macroend(struct roff_man *); enum mdelim mdoc_isdelim(const char *); __END_DECLS @@ -55,13 +55,6 @@ static int man_ptext(struct roff_man *, int, char *, int); static int man_pmacro(struct roff_man *, int, char *, int); -void -man_endparse(struct roff_man *man) -{ - - man_macroend(man); -} - int man_parseln(struct roff_man *man, int ln, char *buf, int offs) { diff --git a/man_macro.c b/man_macro.c index d540fc4a..4ba357b5 100644 --- a/man_macro.c +++ b/man_macro.c @@ -404,9 +404,8 @@ in_line_eoln(MACRO_PROT_ARGS) man_valid_post(man); } - void -man_macroend(struct roff_man *man) +man_endparse(struct roff_man *man) { man_unscope(man, man->first); @@ -89,13 +89,6 @@ static int mdoc_ptext(struct roff_man *, int, char *, int); 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()). diff --git a/mdoc_macro.c b/mdoc_macro.c index 05234250..115fefe8 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -210,7 +210,7 @@ const struct mdoc_macro * const mdoc_macros = __mdoc_macros; * are errors. */ void -mdoc_macroend(struct roff_man *mdoc) +mdoc_endparse(struct roff_man *mdoc) { struct roff_node *n; |