summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-26 11:21:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-26 11:21:40 +0000
commitdeb0541a9d65b5e9fd3c55f596a74475936e9a32 (patch)
tree6629accc1bb69c56b11f6eee532e8c5b007ab6e0
parent802f8bae29d3fdaafaf3ea659513be1badfcde89 (diff)
downloadmandoc-deb0541a9d65b5e9fd3c55f596a74475936e9a32.tar.gz
Sync section titles with OpenBSD.
For section 4, "Kernel Interfaces" is just too confusing, the difference from sections 2 and 9 is too hard to see. The 3p change was suggested by bluhm@; that part of the manual describes more modules than functions. Align the CGI section titles with the console section titles.
-rw-r--r--cgi.c12
-rw-r--r--msec.in4
2 files changed, 8 insertions, 8 deletions
diff --git a/cgi.c b/cgi.c
index 07f252fd..882c33df 100644
--- a/cgi.c
+++ b/cgi.c
@@ -92,14 +92,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 *);
diff --git a/msec.in b/msec.in
index 279c9b0a..4aec2e11 100644
--- a/msec.in
+++ b/msec.in
@@ -25,8 +25,8 @@
LINE("1", "General Commands Manual")
LINE("2", "System Calls Manual")
LINE("3", "Library Functions Manual")
-LINE("3p", "Perl Library Functions Manual")
-LINE("4", "Kernel Interfaces Manual")
+LINE("3p", "Perl Library Manual")
+LINE("4", "Device Drivers Manual")
LINE("5", "File Formats Manual")
LINE("6", "Games Manual")
LINE("7", "Miscellaneous Information Manual")