patch to un-K&R-ify libkern

Joerg Sonnenberger joerg at britannica.bec.de
Mon Jan 26 03:12:41 PST 2004


On Sun, Jan 25, 2004 at 09:25:52PM -0800, Chris Pressey wrote:
> This patch replaces all the K&R-style function declarations in
> src/sys/libkern with ANSI style ones.
> 
> It also eliminates a 'register' keyword from bcmp.c.
> 
> Don't know if these were merely overlooked, or if there's a good reason
> for them to remain in K&R style (in which case just ignore this patch.)
> 
> My kernel builds fine with the patch, and pounding lightly (another
> 'make buildkernel' run) on my patched system seems not to trigger any
> ill effects.
> 
> -Chris

Commited. Thanks. The addition of (void) to empty_loop() and co
is unnecessary.

Joerg 





More information about the Submit mailing list