This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove __malloc_ptr_t


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]