=================================================================== RCS file: /cvs/mandoc/libmandoc.h,v retrieving revision 1.49 retrieving revision 1.53 diff -u -p -r1.49 -r1.53 --- mandoc/libmandoc.h 2014/11/28 06:27:05 1.49 +++ mandoc/libmandoc.h 2014/12/28 14:42:27 1.53 @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.49 2014/11/28 06:27:05 schwarze Exp $ */ +/* $Id: libmandoc.h,v 1.53 2014/12/28 14:42:27 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -15,8 +15,6 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef LIBMANDOC_H -#define LIBMANDOC_H enum rofferr { ROFF_CONT, /* continue processing line */ @@ -37,6 +35,10 @@ struct buf { __BEGIN_DECLS +struct mparse; +struct mchars; +struct tbl_span; +struct eqn; struct roff; struct mdoc; struct man; @@ -64,7 +66,8 @@ void mdoc_addspan(struct mdoc *, const struct tbl_sp void mdoc_addeqn(struct mdoc *, const struct eqn *); void man_free(struct man *); -struct man *man_alloc(struct roff *, struct mparse *, int); +struct man *man_alloc(struct roff *, struct mparse *, + const char *, int); void man_reset(struct man *); int man_parseln(struct man *, int, char *, int); int man_endparse(struct man *); @@ -91,5 +94,3 @@ const struct tbl_span *roff_span(const struct roff *); const struct eqn *roff_eqn(const struct roff *); __END_DECLS - -#endif /*!LIBMANDOC_H*/