summaryrefslogtreecommitdiffstats
path: root/man.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 16:18:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 16:18:13 +0000
commit971f7ac206ac7af70e97998c7ef5b4536efda79e (patch)
tree27e88af287b96db192d82640ab03b190da3b84a2 /man.h
parent093fd946278d03ba2f1e7e6e6194129e51485c58 (diff)
downloadmandoc-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.h')
-rw-r--r--man.h2
1 files changed, 1 insertions, 1 deletions
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 *);