[PATCH] headers: avoid bareword attributes

Sebastian Huber sebastian.huber@embedded-brains.de
Wed Aug 23 15:53:00 GMT 2017


On 17/08/17 03:50, Eric Blake wrote:

> Always use the __-decorated form of an attribute name in public
> headers, as the bareword form is in the user's namespace, and we
> don't want compilation to break just because the user defines the
> bareword to mean something else.
>
> Signed-off-by: Eric Blake <eblake@redhat.com>

Can I try to integrate the <sys/cdefs.h> part of your patch in FreeBSD?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list