From d1d9eaf478b7d3a11a599c120498b79fe5629a61 Mon Sep 17 00:00:00 2001 From: Ondřej Bílka Date: Tue, 26 Nov 2013 12:29:20 +0100 Subject: Use __glibc_reserved instead __unused. --- sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h | 6 +++--- sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'sysdeps/unix/sysv/linux/sparc/sparc64') diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h b/sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h index a4e411d132..2a26a78d9c 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h @@ -14,8 +14,8 @@ struct kernel_stat long int st_ctime_sec; long int st_blksize; long int st_blocks; - unsigned long int __unused1; - unsigned long int __unused2; + unsigned long int __glibc_reserved1; + unsigned long int __glibc_reserved2; }; /* Definition of `struct stat64' used in the kernel. */ @@ -41,7 +41,7 @@ struct kernel_stat64 unsigned long int st_mtime_nsec; unsigned long int st_ctime_sec; unsigned long int st_ctime_nsec; - long int __unused[3]; + long int __glibc_reserved[3]; }; #define XSTAT_IS_XSTAT64 1 diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c index b7e4d96cff..f41d8252ce 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c +++ b/sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c @@ -58,8 +58,8 @@ __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf) buf->st_mtim.tv_nsec = 0; buf->st_ctim.tv_sec = kbuf->st_ctime_sec; buf->st_ctim.tv_nsec = 0; - buf->__unused4 = 0; - buf->__unused5 = 0; + buf->__glibc_reserved4 = 0; + buf->__glibc_reserved5 = 0; } break; @@ -108,8 +108,8 @@ __xstat32_conv (int vers, struct stat64 *sbuf, struct stat *buf) buf->st_mtim.tv_nsec = kbuf->st_mtime_nsec; buf->st_ctim.tv_sec = kbuf->st_ctime_sec; buf->st_ctim.tv_nsec = kbuf->st_ctime_nsec; - buf->__unused4 = 0; - buf->__unused5 = 0; + buf->__glibc_reserved4 = 0; + buf->__glibc_reserved5 = 0; } break; -- cgit 1.4.1