summaryrefslogtreecommitdiffstats
path: root/share/man/man9/style.9
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-11-29 11:39:20 +0000
committerru <ru@FreeBSD.org>2002-11-29 11:39:20 +0000
commit6d3a461a4f20776be1a83de2eada39cb152efd48 (patch)
treee178090675cafc86fcb97bb414bb098780299953 /share/man/man9/style.9
parentda32bc58a0c07d9ab5fab6a3dc0c10e746ac2dbd (diff)
downloadFreeBSD-src-6d3a461a4f20776be1a83de2eada39cb152efd48.zip
FreeBSD-src-6d3a461a4f20776be1a83de2eada39cb152efd48.tar.gz
mdoc(7) police: scheduled sweep.
Approved by: re
Diffstat (limited to 'share/man/man9/style.9')
-rw-r--r--share/man/man9/style.911
1 files changed, 8 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index fabb1a4..101b4a2 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -195,7 +195,9 @@ greater than 20 lines, or where a series of nested
.Ic #ifdef 's
may be confusing to the reader.
Exceptions may be made for cases where code is conditionally not compiled for
-the purposes of lint, even though the uncompiled region may be small.
+the purposes of
+.Xr lint 1 ,
+even though the uncompiled region may be small.
The comment should be separated from the
.Ic #endif
or
@@ -252,8 +254,11 @@ enum enumtype { ONE, TWO } et;
.Pp
In declarations, do not put any whitespace between asterisks and
adjacent tokens, except for tokens that are identifiers related to
-types. (These identifiers are the names of basic types, type
-qualifiers, and typedef-names other than the one being declared.)
+types.
+(These identifiers are the names of basic types, type
+qualifiers, and
+.Ic typedef Ns -names
+other than the one being declared.)
Separate these identifers from asterisks using a single space.
.Pp
When declaring variables in structures, declare them sorted by use, then
OpenPOWER on IntegriCloud