This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH v2] [BZ #10283] localedef: align fixed maps to SHMLBA


On 05/28/2013 08:05 PM, Roland McGrath wrote:
>>> I don't think you should use include/sys/cdefs.h for that sort of purpose.
>>> If it's internal-only stuff that doesn't directly relate to something else
>>> that's in the API of an installed header, then do it purely in a private
>>> header.
>>
>> Do you care if we use include/libc-internal.h for this purpose?
> 
> That's fine enough if there isn't a more specific natural-seeming name for
> this.  In this case we have a handful of macros (perhaps they really should
> be inlines) that all go together, so adding an internal header just for
> them (addr-align.h or something) makes sense too.
> 

We already have a libc-internal.h that is our catch-all.

I say it should go there, and when we get enough helpers we'll refactor.

c.


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