mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-21 15:54:00 +00:00
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.
This commit is contained in:
parent
79731c7b1b
commit
eedd038914
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87486
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue