summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-15 16:34:07 +0000
committerpeter <peter@FreeBSD.org>2000-01-15 16:34:07 +0000
commitc90d56682ccd85ab651eabc1ce71ee95bcf2a74a (patch)
tree8b34b4a63623e7ee318cc22b207c1e03f7a56117 /share
parent839485fa568aa3a4edd8c6a29398da3c97762d66 (diff)
downloadFreeBSD-src-c90d56682ccd85ab651eabc1ce71ee95bcf2a74a.zip
FreeBSD-src-c90d56682ccd85ab651eabc1ce71ee95bcf2a74a.tar.gz
Don't mix up KNF and style(9). This isn't KNF, it's a derivative of it.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/style.97
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 7f4f136..9eecfaa 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -36,7 +36,7 @@ This file specifies the preferred style for kernel source files in the
source tree. It is also a guide for preferred userland code style.
.Bd -literal -offset 0i
/*
- * Style guide for the FreeBSD KNF (Kernel Normal Form).
+ * Style guide for the FreeBSD. Based on KNF (Kernel Normal Form).
*/
/*
@@ -497,8 +497,9 @@ relaxed but at a minimum should be internally consistent with their style.
.Pp
Stylistic changes (including whitespace changes) are hard on the source
repository and are to be avoided without good reason. Code that is
-approximately KNF compliant in the repository must not diverge from
-compliance.
+approximately
+.Xr style 9
+compliant in the repository must not diverge from compliance.
.Pp
Whenever possible, code should be run through a code checker
(e.g., "gcc -Wall" or xlint(1)) and produce minimal warnings.
OpenPOWER on IntegriCloud