diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-27 16:18:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-27 16:18:13 +0000 |
commit | 971f7ac206ac7af70e97998c7ef5b4536efda79e (patch) | |
tree | 27e88af287b96db192d82640ab03b190da3b84a2 /man.c | |
parent | 093fd946278d03ba2f1e7e6e6194129e51485c58 (diff) | |
download | mandoc-971f7ac206ac7af70e97998c7ef5b4536efda79e.tar.gz |
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.
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |