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: DJ Delorie <dj at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 09 Jul 2019 11:49:59 -0400
- Subject: Re: [PATCH] Don't declare __malloc_check_init in <malloc.h> (bug 23352)
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 ;-)