summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2010-08-31 17:58:16 +0000
committerjmc <jmc@openbsd.org>2010-08-31 17:58:16 +0000
commita7eb070a93f5c717db6ec6f8a0b1ff381f22f3cb (patch)
tree9e2655f823376ad1212701cd82e55b01fa2503d4
parentthis diff does two things (usually a bad sign): (diff)
downloadwireguard-openbsd-a7eb070a93f5c717db6ec6f8a0b1ff381f22f3cb.tar.xz
wireguard-openbsd-a7eb070a93f5c717db6ec6f8a0b1ff381f22f3cb.zip
- catching up with upstream mdoclint, recognise IMPLEMENTATION NOTES and
COMPATIBILTY as sections. these remain defined only for netbsd, since we do not use these sections. - contrariwise, undefine EXIT STATUS as being netbsd only. despite some misgivings, i think we probably do need to ressurect this section. i'll start to make these changes soon.
-rw-r--r--regress/usr.bin/mdoclint/mdoclint6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint
index 7e908b2f224..e05bd17b902 100644
--- a/regress/usr.bin/mdoclint/mdoclint
+++ b/regress/usr.bin/mdoclint/mdoclint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: mdoclint,v 1.16 2010/02/10 08:36:33 jmc Exp $
+# $OpenBSD: mdoclint,v 1.17 2010/08/31 17:58:16 jmc Exp $
# $NetBSD: mdoclint,v 1.26 2008/11/22 14:47:28 wiz Exp $
#
# Copyright (c) 2001-2008 Thomas Klausner
@@ -104,12 +104,14 @@ my $valid_date_re;
NETBSD ? "LIBRARY" : undef,
"SYNOPSIS",
"DESCRIPTION",
- NETBSD ? "EXIT STATUS" : undef,
+ NETBSD ? "IMPLEMENTATION NOTES" : undef,
"RETURN VALUES",
"ENVIRONMENT",
"FILES",
+ "EXIT STATUS",
"EXAMPLES",
"DIAGNOSTICS",
+ NETBSD ? "COMPATIBILITY" : undef,
"ERRORS",
"SEE ALSO",
"STANDARDS",