headers: avoid bareword attributes

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>
This commit is contained in:
Eric Blake
2017-08-16 20:39:18 -05:00
parent cfa64a86d1
commit 7b3d8b9485
4 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ details. */
typedef struct __mcontext mcontext_t;
typedef __attribute__ ((aligned (16))) struct __ucontext {
typedef __attribute__ ((__aligned__ (16))) struct __ucontext {
mcontext_t uc_mcontext;
struct __ucontext *uc_link;
sigset_t uc_sigmask;