This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: infra: add CYG_ARRAY_SIZE() macro


On Wed, May 17, 2006 at 05:35:52PM +0100, David Vrabel wrote:
> Andrew Lunn wrote:
> > On Wed, May 17, 2006 at 05:13:47PM +0100, David Vrabel wrote:
> >> I've had to use something like this quite a bit so I guess it's useful
> >> enough to include.  It does the same thing as Linux's ARRAY_SIZE macro.
> > 
> > I've always called this NELEM.
> 
> That would be a more descriptive name.  Have another patch so you can
> choose which (if any) to apply.

Thanks

I also change most of the current NELEM's to CYG_NELEM.

  Andrew

Attachment: infra-add-CYG_NELEM-asl.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]