diff options
author | Ondřej Bílka <neleai@seznam.cz> | 2013-11-26 12:29:20 +0100 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-11-26 12:32:28 +0100 |
commit | d1d9eaf478b7d3a11a599c120498b79fe5629a61 (patch) | |
tree | 47bc37ce2eddc0e89daf81a0650a332066d59541 /sysdeps/unix/sysv/linux/sparc/sparc64 | |
parent | 246b27983b908a241f025ccc2afe87a9e6f32203 (diff) | |
download | glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.tar glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.tar.gz glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.tar.bz2 glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.zip |
Use __glibc_reserved instead __unused.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc64')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c | 8 |
2 files changed, 7 insertions, 7 deletions
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; |