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 | dc95dcaff23f7235529d0b5d9866a252ca3f8c06 (patch) | |
tree | 33263f6d49184bc0c76b80cf9d91e5409c3d3e16 /man.h | |
parent | dc649a73f967c1a61e60d2495f16d56db82eac57 (diff) | |
download | mandoc-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 'man.h')
-rw-r--r-- | man.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.39 2010/06/27 15:52:41 kristaps Exp $ */ +/* $Id: man.h,v 1.40 2010/06/27 16:18:13 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 *); |