aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.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
commitdc95dcaff23f7235529d0b5d9866a252ca3f8c06 (patch)
tree33263f6d49184bc0c76b80cf9d91e5409c3d3e16 /libman.h
parentdc649a73f967c1a61e60d2495f16d56db82eac57 (diff)
downloadmandoc-dc95dcaff23f7235529d0b5d9866a252ca3f8c06.tar.gz
mandoc-dc95dcaff23f7235529d0b5d9866a252ca3f8c06.tar.zst
mandoc-dc95dcaff23f7235529d0b5d9866a252ca3f8c06.zip
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 'libman.h')
-rw-r--r--libman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libman.h b/libman.h
index 4cc0befc..7a4fd6fe 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.39 2010/06/27 15:52:41 kristaps Exp $ */
+/* $Id: libman.h,v 1.40 2010/06/27 16:18:13 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -40,7 +40,7 @@ struct man {
struct man_node *last; /* the last parsed node */
struct man_node *first; /* the first parsed node */
struct man_meta meta; /* document meta-data */
- const struct regset *regs; /* readonly registers */
+ struct regset *regs; /* registers */
};
#define MACRO_PROT_ARGS struct man *m, \