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.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index 55f9f9cc..da3eb3a3 100644 --- a/man.c +++ b/man.c @@ -95,8 +95,8 @@ man_free(struct man *man) struct man * -man_alloc(const struct regset *regs, - void *data, int pflags, mandocmsg msg) +man_alloc(struct regset *regs, void *data, + int pflags, mandocmsg msg) { struct man *p; -- cgit