Subject: Re: CVS commit: src/sys/compat/linux/common
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: source-changes
Date: 02/24/2005 11:58:50
In article <f608a1242e0a352cff7a1117ea1f75df@shagadelic.org>,
Jason Thorpe <thorpej@shagadelic.org> 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