summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-27 05:05:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-05-27 05:05:17 +0000
commit599a50c25c60bf6ee6ec592257d757bc3a603063 (patch)
tree53ae8f190deab3755061f72b09be138d9b14a5e0 /share
parent80e370ef722904da576d79bc016251c561ffe09d (diff)
remove bogus non-style advice that just causes "discussions"
Diffstat (limited to 'share')
-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 \&!