aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
commit619da5a7b0c931ea622bdd14c639e77e854f5ba1 (patch)
treed3dd14dbfee0e608080f6ca7729bfedd65fc0fec /mdoc.h
parenta251336e2327592d09bff64e10e8e344a47a4374 (diff)
downloadmandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.tar.gz
mandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.tar.zst
mandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.zip
LIBRARY can also occur in section 9.
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.h b/mdoc.h
index 00cc5f6a..0c9408bb 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.78 2010/05/13 06:22:11 kristaps Exp $ */
+/* $Id: mdoc.h,v 1.79 2010/05/15 16:24:38 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -223,7 +223,7 @@ enum mdoc_sec {
/* Information from prologue. */
struct mdoc_meta {
- int msec;
+ char *msec;
char *vol;
char *arch;
time_t date;