[PATCH] headers: avoid bareword attributes

Eric Blake eblake@redhat.com
Wed Aug 23 18:59:00 GMT 2017

On 08/22/2017 10:55 AM, Sebastian Huber wrote:
> 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?

You don't have to ask my permission (thanks to open source licensing
rules) - but if it makes you feel better, yes, I'm fine with that.

Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20170823/9c9e8279/attachment.sig>

More information about the Newlib mailing list