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
138f3789bb
commit
df5ccea2fc
@ -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 New Issue
Block a user