Remove __malloc_ptr_t

Andreas Jaeger aj@suse.com
Fri Mar 8 17:56:00 GMT 2013


On 03/08/2013 06:35 PM, Joseph S. Myers wrote:
> This patch removes the macro __malloc_ptr_t from malloc.h, replacing
> its uses by void *, since it no longer provides a useful abstraction
> (and using a macro here is especially confusing, because it looks like
> a typedef name but "const __malloc_ptr_t" means "const void *", not
> "void *const" as it would with a typedef).  Tested x86_64.

Looks fine, thanks,

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list