This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Don't declare __malloc_check_init in <malloc.h> (bug 23352)
- From: Florian Weimer <fweimer at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, libc-alpha at sourceware dot org
- Date: Tue, 09 Jul 2019 18:18:48 +0200
- Subject: Re: [PATCH] Don't declare __malloc_check_init in <malloc.h> (bug 23352)
- References: <xnmuhnqkbc.fsf@greed.delorie.com>
* DJ Delorie:
> Andreas Schwab <schwab@suse.de> writes:
>> The function was never part of the malloc API.
>>
>> [BZ #23352]
>> * malloc/malloc.h (__malloc_check_init): Don't declare.
>> * include/malloc.h (__malloc_check_init): Likewise.
>> * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
>> * manual/memory.texi (__malloc_check_init): Don't mention it.
>
> LGTM from a technical side. I assume some application somewhere will
> complain that they need to call it, but... too bad ;-)
It's a hidden symbol, so it would have to be static link anyway.
Thanks,
Florian