1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +03:00

Use __glibc_reserved instead __unused.

This commit is contained in:
Ondřej Bílka
2013-11-26 12:29:20 +01:00
parent 246b27983b
commit d1d9eaf478
86 changed files with 385 additions and 294 deletions

View File

@@ -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

View File

@@ -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;