linux-generic: use "__aligned__", not "aligned", in public headers

This commit is contained in:
Chris Metcalf 2012-05-14 16:01:44 -04:00
parent b55e1c1e81
commit d45ba2bc26
3 changed files with 12 additions and 6 deletions

View 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:

View File

@ -46,10 +46,10 @@
# 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

View File

@ -38,10 +38,10 @@
# 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. */