diff options
author | Eric Blake <eblake@redhat.com> | 2017-08-16 20:39:18 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-08-17 07:10:03 -0500 |
commit | 7b3d8b9485186aa17db10c76f347e3e12201a12c (patch) | |
tree | 536d758dd2128bbac43af3dd08c95960901873e2 /winsup/cygwin/include/sys/ucontext.h | |
parent | cfa64a86d16ceca38fa4af75f8fde27cbef55012 (diff) | |
download | cygnal-7b3d8b9485186aa17db10c76f347e3e12201a12c.tar.gz cygnal-7b3d8b9485186aa17db10c76f347e3e12201a12c.tar.bz2 cygnal-7b3d8b9485186aa17db10c76f347e3e12201a12c.zip |
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>
Diffstat (limited to 'winsup/cygwin/include/sys/ucontext.h')
-rw-r--r-- | winsup/cygwin/include/sys/ucontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/ucontext.h b/winsup/cygwin/include/sys/ucontext.h index 8795476fc..58dc3874a 100644 --- a/winsup/cygwin/include/sys/ucontext.h +++ b/winsup/cygwin/include/sys/ucontext.h @@ -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; |