[RFA] Protect some malloc functions with "MALLOC_PROVIDED"

Christopher Faylor cgf@redhat.com
Tue Nov 12 20:37:00 GMT 2002

On Tue, Nov 12, 2002 at 05:44:41PM -0500, J. Johnston wrote:
>Christopher Faylor wrote:
>> The below patches stop a few more functions from being compiled if
>> MALLOC_PROVIDED is defined.  This duplicates functionality in other
>> functions like "malloc.c" and "realloc.c".
>> Ok to checkin?
>Go ahead.  There is one small issue with this change. There are other platforms
>that currently define MALLOC_PROVIDED but I doubt that they are using these
>obscure functions and providing the necessary _r interfaces that would normally
>be supplied by mallocr.c.  If this turns out to be a problem, I will add
>a new flag (e.g. MALLOC_FAMILY_PROVIDED) to distinguish between the two

Ok.  Thanks for getting back to me.

I've checked this in.


More information about the Newlib mailing list