Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/lib/libkern
David Young <dyoung%netbsd.org@localhost> writes:
> Module Name: src
> Committed By: dyoung
> Date: Mon Mar 27 21:18:33 UTC 2006
>
> Modified Files:
> src/sys/lib/libkern: libkern.h
>
> Log Message:
> Per discussion on source-changes@, add __arraycount(array) for
> counting the number of elements in a static array, using the idiom,
> sizeof(array)/sizeof(array[0]).
If it is only used in the kernel, why bother with the __? We don't
need to be namespace clean.
Perry
Home |
Main Index |
Thread Index |
Old Index