summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-08-26 11:13:58 +0000
committerschwarze <schwarze@openbsd.org>2014-08-26 11:13:58 +0000
commit4e6618fdde5f7980fcf5beb0c1c89332aa1ec690 (patch)
treec60c3f7e8e8927b72f914665ae027b65c80765db /usr.bin/mandoc/cgi.c
parentRevert part of the if_rxr diff that incorrectly moves RX ring tail (diff)
downloadwireguard-openbsd-4e6618fdde5f7980fcf5beb0c1c89332aa1ec690.tar.xz
wireguard-openbsd-4e6618fdde5f7980fcf5beb0c1c89332aa1ec690.zip
Unify console and CGI section titles, bringing them closer to groff,
is an attempt to reduce confusion for users switching between media and between different operating systems. Not using the groff title for section 4 is intentional, it is just too awful ("Kernel Interfaces Manual"), and the difference from sections 2 and 9 would be too hard to see. Positive feedback from at least deraadt@ millert@ bluhm@ jca@. Previously also agreed with the general direction: jmc@ Nick@. The title for 3p was polished by bluhm@. The existing mismatches were originally noticed by jsg@.
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index a73f7c23c7b..3d1d1e0f184 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.33 2014/08/21 16:03:50 schwarze Exp $ */
+/* $OpenBSD: cgi.c,v 1.34 2014/08/26 11:13:58 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@usta.de>
@@ -91,14 +91,14 @@ static const char *const sec_names[] = {
"All Sections",
"1 - General Commands",
"2 - System Calls",
- "3 - Subroutines",
- "3p - Perl Subroutines",
- "4 - Special Files",
+ "3 - Library Functions",
+ "3p - Perl Library",
+ "4 - Device Drivers",
"5 - File Formats",
"6 - Games",
- "7 - Macros and Conventions",
- "8 - Maintenance Commands",
- "9 - Kernel Interface"
+ "7 - Miscellaneous Information",
+ "8 - System Manager\'s Manual",
+ "9 - Kernel Developer\'s Manual"
};
static const int sec_MAX = sizeof(sec_names) / sizeof(char *);