diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h index dad6a350b..aede45f77 100644 --- a/winsup/cygwin/include/cygwin/config.h +++ b/winsup/cygwin/include/cygwin/config.h @@ -41,7 +41,7 @@ extern "C" { #else #include "../tlsoffsets.h" #endif -__attribute__((gnu_inline)) +__attribute__((__gnu_inline__)) extern inline struct _reent *__getreent (void) { register char *ret; diff --git a/winsup/cygwin/include/cygwin/signal.h b/winsup/cygwin/include/cygwin/signal.h index a8c852ddb..630afc817 100644 --- a/winsup/cygwin/include/cygwin/signal.h +++ b/winsup/cygwin/include/cygwin/signal.h @@ -46,7 +46,7 @@ struct _fpstate __uint32_t padding[24]; }; -struct __attribute__ ((aligned (16))) __mcontext +struct __attribute__ ((__aligned__ (16))) __mcontext { __uint64_t p1home; __uint64_t p2home; diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h index 9e8eb6f2b..6d3bfd0eb 100644 --- a/winsup/cygwin/include/pthread.h +++ b/winsup/cygwin/include/pthread.h @@ -223,8 +223,8 @@ void pthread_testcancel (void); #if __GNU_VISIBLE int pthread_getattr_np (pthread_t, pthread_attr_t *); -int pthread_getname_np (pthread_t, char *, size_t) __attribute__((nonnull(2))); -int pthread_setname_np (pthread_t, const char *) __attribute__((nonnull(2))); +int pthread_getname_np (pthread_t, char *, size_t) __attribute__((__nonnull__(2))); +int pthread_setname_np (pthread_t, const char *) __attribute__((__nonnull__(2))); int pthread_sigqueue (pthread_t *, int, const union sigval); int pthread_yield (void); #endif 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;