Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 03/18/2007 20:59:38
Module Name:	src
Committed By:	dyoung
Date:		Sun Mar 18 20:59:38 UTC 2007

Modified Files:
	src/sys/net: if.c

Log Message:
KNF: compare pointers with NULL instead of 0, and do not "test
     truth" of either integers or pointers, so that it's clear
     what's going on.  Remove superfluous () from return statements.
     bcmp -> memcmp, bcopy -> memcpy.

Misc. cosmetic: join some lines, remove a few empty lines, remove
spaces from type casts.  Don't open-code IFNET_FOREACH().  Shorten
some staircases.


To generate a diff of this commit:
cvs rdiff -r1.184 -r1.185 src/sys/net/if.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.