diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-22 22:11:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-22 22:11:25 +0000 |
commit | 08234aaa784e0525689eb7c872d971383769f1f1 (patch) | |
tree | e1b89b2009becb8d182834ee33815a44ee1b2ada /usr.bin | |
parent | 7032cdc11fc67a12a74fd7b01b42071df6c93af4 (diff) |
sync to 1.9.1: sync mdoc manual structure to man manual structure
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/mdoc.h | 6 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_strings.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mdoc.h b/usr.bin/mandoc/mdoc.h index 4b7fa7bead9..8c5498a7267 100644 --- a/usr.bin/mandoc/mdoc.h +++ b/usr.bin/mandoc/mdoc.h @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.12 2009/08/09 22:05:01 schwarze Exp $ */ +/* $Id: mdoc.h,v 1.13 2009/08/22 22:11:24 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -200,8 +200,9 @@ enum mdoc_sec { SEC_SYNOPSIS, SEC_DESCRIPTION, SEC_IMPLEMENTATION, + SEC_EXIT_STATUS, SEC_RETURN_VALUES, - SEC_ENVIRONMENT, + SEC_ENVIRONMENT, SEC_FILES, SEC_EXAMPLES, SEC_DIAGNOSTICS, @@ -213,6 +214,7 @@ enum mdoc_sec { SEC_AUTHORS, SEC_CAVEATS, SEC_BUGS, + SEC_SECURITY, SEC_CUSTOM /* User-defined. */ }; diff --git a/usr.bin/mandoc/mdoc_strings.c b/usr.bin/mandoc/mdoc_strings.c index 7b561fa264c..cc71f97d7db 100644 --- a/usr.bin/mandoc/mdoc_strings.c +++ b/usr.bin/mandoc/mdoc_strings.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_strings.c,v 1.8 2009/07/08 00:04:10 schwarze Exp $ */ +/* $Id: mdoc_strings.c,v 1.9 2009/08/22 22:11:24 schwarze Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -30,7 +30,7 @@ struct mdoc_secname { enum mdoc_sec sec; /* Corresponding section. */ }; -#define SECNAME_MAX (18) +#define SECNAME_MAX (20) static const struct mdoc_secname secnames[SECNAME_MAX] = { { "NAME", SEC_NAME }, @@ -38,6 +38,7 @@ static const struct mdoc_secname secnames[SECNAME_MAX] = { { "SYNOPSIS", SEC_SYNOPSIS }, { "DESCRIPTION", SEC_DESCRIPTION }, { "IMPLEMENTATION NOTES", SEC_IMPLEMENTATION }, + { "EXIT STATUS", SEC_EXIT_STATUS }, { "RETURN VALUES", SEC_RETURN_VALUES }, { "ENVIRONMENT", SEC_ENVIRONMENT }, { "FILES", SEC_FILES }, @@ -51,6 +52,7 @@ static const struct mdoc_secname secnames[SECNAME_MAX] = { { "AUTHORS", SEC_AUTHORS }, { "CAVEATS", SEC_CAVEATS }, { "BUGS", SEC_BUGS }, + { "SECURITY CONSIDERATIONS", SEC_SECURITY } }; |