aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.c
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 /man.c
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 'man.c')
-rw-r--r--man.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/man.c b/man.c
index 0bdff790..1d320706 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.79 2010/06/27 15:52:41 kristaps Exp $ */
+/* $Id: man.c,v 1.80 2010/06/27 16:18:13 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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;