This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] headers: avoid bareword attributes
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Eric Blake <eblake at redhat dot com>, newlib at sourceware dot org
- Date: Tue, 22 Aug 2017 17:55:38 +0200
- Subject: Re: [PATCH] headers: avoid bareword attributes
- Authentication-results: sourceware.org; auth=none
- References: <20170817015011.9345-1-eblake@redhat.com>
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.