summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-05-27 05:05:16 +0000
committerderaadt <deraadt@openbsd.org>2006-05-27 05:05:16 +0000
commit1b8d9acaa9818ea070ee0ed007055e454420612c (patch)
treecb681c6b2174172b65e31b035445f1fd647e91fc
parentTeach powernow about setperf prioritys, add a setperf_prio to amd64. (diff)
downloadwireguard-openbsd-1b8d9acaa9818ea070ee0ed007055e454420612c.tar.xz
wireguard-openbsd-1b8d9acaa9818ea070ee0ed007055e454420612c.zip
remove bogus non-style advice that just causes "discussions"
-rw-r--r--share/man/man9/style.913
1 files changed, 1 insertions, 12 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index a06f306bf9f..af880d1880e 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.44 2006/03/21 03:24:59 ray Exp $
+.\" $OpenBSD: style.9,v 1.45 2006/05/27 05:05:16 deraadt Exp $
.\"
.Dd June 18, 2001
.Dt STYLE 9
@@ -514,17 +514,6 @@ Use
instead of
(type\ *)0 or (type\ *)NULL in all cases except for arguments to variadic
functions where the compiler does not know the type.
-Test pointers
-against
-.Dv NULL ,
-i.e., use:
-.Bd -literal -offset indent
-(p = f()) == NULL
-.Ed
-not:
-.Bd -literal -offset indent -compact
-!(p = f())
-.Ed
.Pp
Don't use
.Ql \&!