Subject: Re: CVS commit: src/sys/compat/linux/common
To: David Young <dyoung@pobox.com>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 02/24/2005 15:56:53
On Feb 24, 2005, at 3:17 PM, David Young wrote:

> On Thu, Feb 24, 2005 at 07:56:23PM +0000, David Laight wrote:
>>> Maybe "length" instead of "count" i.e. __arraylength()
>>> And it probably belongs in stddef.h where offsetof() is defined.
>>
>> IMHO both __arraylength() and __arraycount() have far too many 
>> letters in them!
>> I've always used the more succint nelem(), maybe sometimes NELEM().
>
> Agreed.  I withdraw __arraycount().  More than one person has voiced
> concerns about the namespace.  Shall we make it __nelem() ?

namespace is deald with by __.  I still vote for __arraycount().

-- thorpej