[PATCH] test-skeleton.c: xmalloc, xcalloc, xrealloc are potentially unused

Mike Frysinger vapier@gentoo.org
Wed Jun 22 15:49:00 GMT 2016


On 22 Jun 2016 17:18, Florian Weimer wrote:
> __attribute__ ((used)) means that the function has to be
> emitted in assembly because it is referenced in ways the
> compiler cannot detect (such as asm statements, or some
> post-processing on the generated assembly).
> 
> The unused attribute needs to come first, otherwise it is
> applied to the return type and not the function definition.

ok
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160622/1704db31/attachment.sig>


More information about the Libc-alpha mailing list