diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-27 15:52:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-27 15:52:41 +0000 |
commit | dc649a73f967c1a61e60d2495f16d56db82eac57 (patch) | |
tree | 219a85e24404486b7c0136c293975e680de9c05d /man.h | |
parent | 0d82fb509497f4929c0d0c2c4619f27aa7fc0052 (diff) | |
download | mandoc-dc649a73f967c1a61e60d2495f16d56db82eac57.tar.gz mandoc-dc649a73f967c1a61e60d2495f16d56db82eac57.tar.zst mandoc-dc649a73f967c1a61e60d2495f16d56db82eac57.zip |
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.
Diffstat (limited to 'man.h')
-rw-r--r-- | man.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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 *); |