This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] dynarray: Use libc_hidden_proto only for !_ISOMAC
- From: Florian Weimer <fweimer at redhat dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 25 Jun 2017 16:24:40 +0200
- Subject: Re: [PATCH] dynarray: Use libc_hidden_proto only for !_ISOMAC
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5B88D5D687
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5B88D5D687
- References: <20170613091601.D8E85401D0FB7@oldenburg.str.redhat.com> <77e4f4ac-8fdb-e031-d0df-6fb50be798b9@redhat.com> <CAKCAbMh_dVfNZCOhwHPw6KL=p23S4jesx9FgUEzjpbrJySwrtw@mail.gmail.com>
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