Source-Changes archive

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

Re: CVS commit: src/sys/net



> Module Name:  src
> Committed By: christos
> Date:         Wed Mar 26 02:21:52 UTC 2008
> 
> Modified Files:
>       src/sys/net: bpf.c
> 
> Log Message:
> - put const back, no reason to modify the prototype.

do we need to repeat the discussion?

YAMAMOTO Takashi

> 1. Please don't cast function pointers to (void *), use the full function
>    prototype cast; this is for archs where a function pointer is not a regular
>    pointer.
> 2. Compare pointers to NULL not 0.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.136 -r1.137 src/sys/net/bpf.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