From dc649a73f967c1a61e60d2495f16d56db82eac57 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 27 Jun 2010 15:52:41 +0000 Subject: Downstream maintainers: this removes UGLY! I don't want diverging functionality and UGLY works quite well thanks to schwarze@'s careful attention. This also backs out function-prototype changes for struct regset, instead stuffing a pointer to the regset directly into struct mdoc/man/roff. --- man.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'man.h') diff --git a/man.h b/man.h index ddeb0184..f8c8d786 100644 --- a/man.h +++ b/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.38 2010/06/26 15:36:37 kristaps Exp $ */ +/* $Id: man.h,v 1.39 2010/06/27 15:52:41 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -106,11 +106,9 @@ __BEGIN_DECLS struct man; void man_free(struct man *); -struct man *man_alloc(void *, int, mandocmsg); +struct man *man_alloc(const struct regset *, void *, int, mandocmsg); void man_reset(struct man *); -int man_parseln(struct man *, - const struct regset *, - int, char *, int); +int man_parseln(struct man *, int, char *, int); int man_endparse(struct man *); const struct man_node *man_node(const struct man *); -- cgit v1.2.3