From dc95dcaff23f7235529d0b5d9866a252ca3f8c06 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 27 Jun 2010 16:18:13 +0000 Subject: 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. --- libman.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libman.h') 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 * @@ -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, \ -- cgit v1.2.3