aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 15:52:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 15:52:41 +0000
commitdc649a73f967c1a61e60d2495f16d56db82eac57 (patch)
tree219a85e24404486b7c0136c293975e680de9c05d /man.h
parent0d82fb509497f4929c0d0c2c4619f27aa7fc0052 (diff)
downloadmandoc-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.h8
1 files changed, 3 insertions, 5 deletions
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 <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 *);