Source-Changes archive

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

Re: CVS commit: src/sys/compat/linux/common



In article <f608a1242e0a352cff7a1117ea1f75df%shagadelic.org@localhost>,
Jason Thorpe  <thorpej%shagadelic.org@localhost> wrote:
>
>On Feb 24, 2005, at 12:34 AM, David Young wrote:
>
>> [Really, a common idiom like NELTS() belongs in sys/cdefs.h.  Perhaps 
>> it
>> should be called __arraycount().]
>
>Yes, and yes.  Please make it so.

Maybe "length" instead of "count" i.e. __arraylength()
And it probably belongs in stddef.h where offsetof() is defined.

christos




Home | Main Index | Thread Index | Old Index