From 971f7ac206ac7af70e97998c7ef5b4536efda79e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 27 Jun 2010 16:18:13 +0000 Subject: Following clue-stick applied by schwarze@, back out const-ness of regset passed in to libmdoc and libman. Fix mdoc.3 and man.3 EXAMPLE sections to include regset. Add MDOC_SYNPRETTY flag cueing front-end to nicely format certain values as if SEC_SYNOPSIS were the current section. --- man.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man.h') diff --git a/man.h b/man.h index 545aa66a..d3c80b3a 100644 --- a/man.h +++ b/man.h @@ -106,7 +106,7 @@ __BEGIN_DECLS struct man; void man_free(struct man *); -struct man *man_alloc(const struct regset *, void *, int, mandocmsg); +struct man *man_alloc(struct regset *, void *, int, mandocmsg); void man_reset(struct man *); int man_parseln(struct man *, int, char *, int); int man_endparse(struct man *); -- cgit