about summary refs log tree commit diff
path: root/sysdeps/hppa/nptl/bits/pthreadtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/hppa/nptl/bits/pthreadtypes.h')
-rw-r--r--sysdeps/hppa/nptl/bits/pthreadtypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/hppa/nptl/bits/pthreadtypes.h b/sysdeps/hppa/nptl/bits/pthreadtypes.h
index 845629d646..a361ecf2ae 100644
--- a/sysdeps/hppa/nptl/bits/pthreadtypes.h
+++ b/sysdeps/hppa/nptl/bits/pthreadtypes.h
@@ -67,7 +67,7 @@ typedef union
 {
   struct __pthread_mutex_s
   {
-    int __lock __attribute__ ((aligned(16)));
+    int __lock __attribute__ ((__aligned__(16)));
     unsigned int __count;
     int __owner;
     /* KIND must stay at this position in the structure to maintain
@@ -119,7 +119,7 @@ typedef union
        start of the 4-word lock structure, the next four words
        are set all to 1 by the Linuxthreads
        PTHREAD_COND_INITIALIZER.  */
-    int __lock __attribute__ ((aligned(16)));
+    int __lock __attribute__ ((__aligned__(16)));
     /* Tracks the initialization of this structure:
        0  initialized with NPTL PTHREAD_COND_INITIALIZER.
        1  initialized with Linuxthreads PTHREAD_COND_INITIALIZER.
@@ -167,7 +167,7 @@ typedef union
        start of the 4-word 16-byte aligned lock structure. The
        next four words are all set to 1 by the Linuxthreads
        PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL.  */
-    int __compat_padding[4] __attribute__ ((aligned(16)));
+    int __compat_padding[4] __attribute__ ((__aligned__(16)));
     int __lock;
     unsigned int __nr_readers;
     unsigned int __readers_wakeup;