-/* $OpenBSD: libman.h,v 1.51 2015/04/19 14:57:16 schwarze Exp $ */
+/* $OpenBSD: libman.h,v 1.52 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
__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 *);
-/* $OpenBSD: libmdoc.h,v 1.75 2015/04/19 14:25:05 schwarze Exp $ */
+/* $OpenBSD: libmdoc.h,v 1.76 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
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
-/* $OpenBSD: man.c,v 1.109 2015/04/19 14:57:16 schwarze Exp $ */
+/* $OpenBSD: man.c,v 1.110 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
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)
{
-/* $OpenBSD: man_macro.c,v 1.70 2015/04/19 14:57:16 schwarze Exp $ */
+/* $OpenBSD: man_macro.c,v 1.71 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2012, 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
man_valid_post(man);
}
-
void
-man_macroend(struct roff_man *man)
+man_endparse(struct roff_man *man)
{
man_unscope(man, man->first);
-/* $OpenBSD: mdoc.c,v 1.139 2015/04/19 14:57:16 schwarze Exp $ */
+/* $OpenBSD: mdoc.c,v 1.140 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012-2015 Ingo Schwarze <schwarze@openbsd.org>
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()).
-/* $OpenBSD: mdoc_macro.c,v 1.150 2015/04/21 16:13:54 schwarze Exp $ */
+/* $OpenBSD: mdoc_macro.c,v 1.151 2015/04/23 15:35:39 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012-2015 Ingo Schwarze <schwarze@openbsd.org>
* are errors.
*/
void
-mdoc_macroend(struct roff_man *mdoc)
+mdoc_endparse(struct roff_man *mdoc)
{
struct roff_node *n;