summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-12-07 11:40:22 +0000
committerimp <imp@FreeBSD.org>2001-12-07 11:40:22 +0000
commit2e8b6b050890cf3d5f85777565774c45e0e365fa (patch)
tree238268c2c699cd49e247f63285ddf94a2a444c8d /share
parent15d141bb585eb16e49f6bd49c5c5eee2328e44f6 (diff)
downloadFreeBSD-src-2e8b6b050890cf3d5f85777565774c45e0e365fa.zip
FreeBSD-src-2e8b6b050890cf3d5f85777565774c45e0e365fa.tar.gz
Be exsplicit about the parentheses around return statements. It is
documented by example. Since most of this file is documented by example, it is confusing. Make things a little less confusing.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/style.92
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index c42eb74..a40d2e1 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -468,6 +468,8 @@ if (!*p)
Routines returning void * should not have their return values cast
to any pointer type.
.Pp
+Values in return statements should be enclosed in parentheses.
+.Pp
Use
.Xr err 3
or
OpenPOWER on IntegriCloud