[PATCH 3/3] stdlib.h: use existing malloc/alloc_size attribute defines

Mike Frysinger vapier@gentoo.org
Thu Jan 24 04:55:00 GMT 2013


On Wednesday 23 January 2013 18:11:37 Roland McGrath wrote:
> Avoid gratuitous changes like moving __wur from before those attributes
> to after.  Here it certainly doesn't matter, but it requires a reviewer
> to stop and convince himself that it does no harm, especially when it's
> not even mentioned.

i did it simply to maintain consistency with the rest of the header (and most 
of the glibc headers) -- __wur comes last.  i'm not justifying rolling it into 
this patch (i can split it out if you like), just providing the reasoning 
behind the change.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20130124/b72197ee/attachment.sig>


More information about the Libc-alpha mailing list