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] dynarray: Use libc_hidden_proto only for !_ISOMAC


On 06/16/2017 03:26 PM, Zack Weinberg wrote:
> On Fri, Jun 16, 2017 at 7:24 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> On 06/13/2017 11:16 AM, Florian Weimer wrote:
>>> With this change, it is possible to use dynarray from non-internal
>>> tests.
>>>
>>> 2017-06-13  Florian Weimer  <fweimer@redhat.com>
>>>
>>>       * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
> 
> I'm a little surprised it's possible to call these functions from
> outside libc, but the patch itself seems correct as long as this isn't
> an installed header.

They are exported as GLIBC_PRIVATE, so that we can use arrays from other
parts of glibc.

Thanks,
Florian


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