patch to un-K&R-ify libkern

Chris Pressey cpressey at catseye.mine.nu
Sun Jan 25 21:22:35 PST 2004


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
Attachment:
libkern.diff.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00004.bin
Type: application/octet-stream
Size: 3579 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20040125/f9fc6b73/attachment-0014.bin>


More information about the Submit mailing list