]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
linux-generic: use "__aligned__", not "aligned", in public headers
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 14 May 2012 20:01:44 +0000 (16:01 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 14 May 2012 20:01:44 +0000 (16:01 -0400)
ChangeLog.linux-generic
sysdeps/unix/sysv/linux/generic/bits/stat.h
sysdeps/unix/sysv/linux/generic/bits/statfs.h

index 4b39e61f510a4c1369eb865883125c4632b53bee..9f563e3ff21f9cc666a8d3070441bff31d5421a3 100644 (file)
@@ -1,3 +1,9 @@
+2012-05-14  Chris Metcalf  <cmetcalf@tilera.com>
+
+       * sysdeps/unix/sysv/linux/generic/bits/stat.h,
+       sysdeps/unix/sysv/linux/generic/bits/statfs.h:
+       Use "__aligned__" instead of "aligned" in public headers.
+
 2012-05-12  Chris Metcalf  <cmetcalf@tilera.com>
 
        * sysdeps/unix/sysv/linux/generic/wordsize-32/syscalls.list:
index f9aa66ebc7e9da9d91ff81976015f1769f5e7744..5de1bd0514f88f95f5e20b7140d6fadfef2da8f8 100644 (file)
 # define __field64(type, type64, name) type name
 #elif __BYTE_ORDER == __LITTLE_ENDIAN
 # define __field64(type, type64, name) \
-  type name __attribute__((aligned(8))); int __##name##_pad
+  type name __attribute__((__aligned__(8))); int __##name##_pad
 #else
 # define __field64(type, type64, name) \
-  int __##name##_pad __attribute__((aligned(8))); type name
+  int __##name##_pad __attribute__((__aligned__(8))); type name
 #endif
 
 struct stat
index bbc5da786e651dcea49ff516680e59175a0f62e5..bf479e875e5a101dd60f76f4ec31c207e0d18fee 100644 (file)
 # define __field64(type, type64, name) type name
 #elif __BYTE_ORDER == __LITTLE_ENDIAN
 # define __field64(type, type64, name) \
-  type name __attribute__((aligned(8))); int __##name##_pad
+  type name __attribute__((__aligned__(8))); int __##name##_pad
 #else
 # define __field64(type, type64, name) \
-  int __##name##_pad __attribute__((aligned(8))); type name
+  int __##name##_pad __attribute__((__aligned__(8))); type name
 #endif
 
 struct statfs
@@ -58,7 +58,7 @@ struct statfs
     __SWORD_TYPE f_frsize;
     __SWORD_TYPE f_flags;
     __SWORD_TYPE f_spare[4];
-  } __attribute__((aligned(8)));
+  } __attribute__((__aligned__(8)));
 
 #undef __field64
 
@@ -77,7 +77,7 @@ struct statfs64
     __SWORD_TYPE f_frsize;
     __SWORD_TYPE f_flags;
     __SWORD_TYPE f_spare[4];
-  } __attribute__((aligned(8)));
+  } __attribute__((__aligned__(8)));
 #endif
 
 /* Tell code we have these members.  */