Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/net



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.




Home | Main Index | Thread Index | Old Index