summaryrefslogtreecommitdiffstats
path: root/libmdoc.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 /libmdoc.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 'libmdoc.h')
-rw-r--r--libmdoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 87f66c2d..df34021c 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -43,7 +43,7 @@ struct mdoc {
struct mdoc_meta meta; /* document meta-data */
enum mdoc_sec lastnamed;
enum mdoc_sec lastsec;
- const struct regset *regs; /* readonly registers */
+ struct regset *regs; /* registers */
};
#define MACRO_PROT_ARGS struct mdoc *m, \