This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH/committed] ia64: stat.h: rename pad0 to __glibc_reserved0
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-alpha at sourceware dot org
- Date: Tue, 21 Jul 2015 22:43:38 -0400
- Subject: [PATCH/committed] ia64: stat.h: rename pad0 to __glibc_reserved0
- Authentication-results: sourceware.org; auth=none
This fixes the conform test for the stat.h header and makes it match
all the other arches.
---
ChangeLog | 6 ++++++
sysdeps/unix/sysv/linux/ia64/bits/stat.h | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1addad6..991cb88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2015-07-22 Mike Frysinger <vapier@gentoo.org>
+ * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
+ pad0 to __glibc_reserved0.
+ (struct stat64): Likewise.
+
+2015-07-22 Mike Frysinger <vapier@gentoo.org>
+
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
Change sa_flags from a long to an int and add __glibc_reserved0 before
it for padding.
diff --git a/sysdeps/unix/sysv/linux/ia64/bits/stat.h b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
index ed79676..929cc84 100644
--- a/sysdeps/unix/sysv/linux/ia64/bits/stat.h
+++ b/sysdeps/unix/sysv/linux/ia64/bits/stat.h
@@ -38,7 +38,7 @@ struct stat
__mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
- int pad0;
+ int __glibc_reserved0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
#ifdef __USE_XOPEN2K8
@@ -77,7 +77,7 @@ struct stat64
__mode_t st_mode; /* File mode. */
__uid_t st_uid; /* User ID of the file's owner. */
__gid_t st_gid; /* Group ID of the file's group.*/
- int pad0;
+ int __glibc_reserved0;
__dev_t st_rdev; /* Device number, if device. */
__off_t st_size; /* Size of file, in bytes. */
#ifdef __USE_XOPEN2K8
--
2.4.4