summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_strings.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-08-22 22:11:24 +0000
committerschwarze <schwarze@openbsd.org>2009-08-22 22:11:24 +0000
commitaa56aa74e6edc4f0d7e7bf475b63a2fdf040d26e (patch)
treeb0169bfc108e3cbfc98677d32a82eb47eaa55f05 /usr.bin/mandoc/mdoc_strings.c
parentsync to 1.9.1: set mdoc_next flags in mdoc_*_alloc routines, where they belong (diff)
downloadwireguard-openbsd-aa56aa74e6edc4f0d7e7bf475b63a2fdf040d26e.tar.xz
wireguard-openbsd-aa56aa74e6edc4f0d7e7bf475b63a2fdf040d26e.zip
sync to 1.9.1: sync mdoc manual structure to man manual structure
Diffstat (limited to 'usr.bin/mandoc/mdoc_strings.c')
-rw-r--r--usr.bin/mandoc/mdoc_strings.c6
1 files changed, 4 insertions, 2 deletions
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 }
};