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

@ -1,3 +1,51 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* resolv/netdb.h: Use __glibc_reserved instead __unused.
* rt/aio.h: Likewise.
* sysdeps/gnu/bits/utmp.h: Likewise.
* sysdeps/gnu/bits/utmpx.h: Likewise.
* sysdeps/gnu/netinet/ip_icmp.h: Likewise.
* sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
* sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
* sysdeps/x86/fpu/bits/fenv.h: Likewise.
2013-11-25 Carlos O'Donell <carlos@redhat.com>
[BZ #16245]

View File

@ -1,3 +1,7 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/i386/tls.h: Use __glibc_reserved instead __unused.
* sysdeps/x86_64/tls.h: Likewise.
2013-11-25 Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #11214]

View File

@ -56,7 +56,7 @@ typedef struct
#ifndef __ASSUME_PRIVATE_FUTEX
int private_futex;
#else
int __unused1;
int __glibc_reserved1;
#endif
/* Reservation of some values for the TM ABI. */
void *__private_tm[4];

View File

@ -65,14 +65,14 @@ typedef struct
# ifndef __ASSUME_PRIVATE_FUTEX
int private_futex;
# else
int __unused1;
int __glibc_reserved1;
# endif
int rtld_must_xmm_save;
/* Reservation of some values for the TM ABI. */
void *__private_tm[4];
/* GCC split stack support. */
void *__private_ss;
long int __unused2;
long int __glibc_reserved2;
/* Have space for the post-AVX register size. */
__128bits rtld_savespace_sse[8][4] __attribute__ ((aligned (32)));

View File

@ -1,3 +1,12 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Use __glibc_reserved instead __unused.
* sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c: Likewise.
2013-11-16 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Include a nop

View File

@ -1,3 +1,6 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/arm/bits/shm.h: Use __glibc_reserved instead __unused.
2013-11-22 Roland McGrath <roland@hack.frob.com>
* sysdeps/arm/armv7/multiarch/memcpy_impl.S

View File

@ -1,3 +1,10 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/hppa/bits/ipc.h: Use __glibc_reserved instead __unused.
* sysdeps/unix/sysv/linux/hppa/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
* sysdeps/hppa/dl-lookupcfg.h: Remove obsolete

View File

@ -1,3 +1,10 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/ia64/bits/ipc.h: Use __glibc_reserved instead __unused.
* sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
* sysdeps/ia64/dl-lookupcfg.h: Remove obsolete

View File

@ -1,3 +1,6 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use __glibc_reserved instead __unused.
2013-10-30 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/m68k/configure.in: Moved to ...

View File

@ -1,3 +1,7 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/microblaze/bits/stat.h: Use __glibc_reserved instead __unused.
* sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Likewise.
2013-10-30 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/microblaze/configure.in: Moved to ...

View File

@ -1,3 +1,9 @@
2013-11-26 Ondřej Bílka <neleai@seznam.cz>
* sysdeps/unix/sysv/linux/mips/bits/ipc.h: Use __glibc_reserved instead __unused.
* sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2013-10-30 Mike Frysinger <vapier@gentoo.org>
* sysdeps/mips/configure.in: Moved to ...

View File

@ -49,6 +49,6 @@ struct ipc_perm
unsigned int mode; /* Read/write permission. */
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad1;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};

View File

@ -46,8 +46,8 @@ struct msqid_ds
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC

View File

@ -41,8 +41,8 @@ struct semid_ds
__time_t sem_otime; /* last semop() time */
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
/* The user should define a union like the following to use it for arguments

View File

@ -56,8 +56,8 @@ struct shmid_ds
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC
@ -79,10 +79,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -92,7 +92,7 @@ struct stat
__ST_TIME(a); /* Time of last access. */
__ST_TIME(m); /* Time of last modification. */
__ST_TIME(c); /* Time of last status change. */
long __unused[3];
long __glibc_reserved[3];
};
#ifdef __USE_LARGEFILE64
@ -113,7 +113,7 @@ struct stat64
__ST_TIME(a); /* Time of last access. */
__ST_TIME(m); /* Time of last modification. */
__ST_TIME(c); /* Time of last status change. */
long __unused[3];
long __glibc_reserved[3];
};
#endif

View File

@ -40,7 +40,7 @@ struct kernel_stat64
unsigned long st_mtimensec;
unsigned long st_ctime;
unsigned long st_ctimensec;
long __unused[3];
long __glibc_reserved[3];
};
/* Definition of `struct stat' used by glibc 2.0. */
@ -82,7 +82,7 @@ struct glibc21_stat
unsigned int st_flags;
unsigned int st_gen;
int __pad3;
long __unused[4];
long __glibc_reserved[4];
};
#define XSTAT_IS_XSTAT64 1

View File

@ -74,10 +74,10 @@ __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
buf->st_flags = kbuf->st_flags;
buf->st_gen = kbuf->st_gen;
buf->__pad3 = 0;
buf->__unused[0] = 0;
buf->__unused[1] = 0;
buf->__unused[2] = 0;
buf->__unused[3] = 0;
buf->__glibc_reserved[0] = 0;
buf->__glibc_reserved[1] = 0;
buf->__glibc_reserved[2] = 0;
buf->__glibc_reserved[3] = 0;
}
break;
@ -105,9 +105,9 @@ __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
buf->st_ctime = kbuf->st_ctime;
buf->st_ctimensec = 0;
buf->__unused[0] = 0;
buf->__unused[1] = 0;
buf->__unused[2] = 0;
buf->__glibc_reserved[0] = 0;
buf->__glibc_reserved[1] = 0;
buf->__glibc_reserved[2] = 0;
}
break;

View File

@ -51,16 +51,16 @@ struct shmid_ds
struct ipc_perm shm_perm; /* operation permission struct */
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
__time_t shm_dtime; /* time of last shmdt() */
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
__time_t shm_ctime; /* time of last change by shmctl() */
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC
@ -82,10 +82,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -41,23 +41,23 @@ struct msqid_ds
struct ipc_perm msg_perm; /* structure describing operation permission */
__time_t msg_stime; /* time of last msgsnd command */
#if __WORDSIZE == 32
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t msg_rtime; /* time of last msgrcv command */
#if __WORDSIZE == 32
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t msg_ctime; /* time of last change */
#if __WORDSIZE == 32
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
unsigned long int __msg_cbytes; /* current number of bytes on queue */
msgqnum_t msg_qnum; /* number of messages currently on queue */
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -42,15 +42,15 @@ struct semid_ds
struct ipc_perm sem_perm; /* operation permission struct */
__time_t sem_otime; /* last semop() time */
#if __WORDSIZE == 32
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t sem_ctime; /* last time changed by semctl() */
#if __WORDSIZE == 32
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
/* The user should define a union like the following to use it for arguments

View File

@ -54,21 +54,21 @@ struct shmid_ds
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
#if __WORDSIZE == 32
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t shm_dtime; /* time of last shmdt() */
#if __WORDSIZE == 32
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t shm_ctime; /* time of last change by shmctl() */
#if __WORDSIZE == 32
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC
@ -90,10 +90,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -87,7 +87,7 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
int __unused[2];
int __glibc_reserved[2];
};
#undef __field64
@ -125,7 +125,7 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
int __unused[2];
int __glibc_reserved[2];
};
#endif

View File

@ -57,6 +57,6 @@ struct ipc_perm
#endif
unsigned short int __seq; /* Sequence number. */
unsigned int __pad3;
__extension__ unsigned long long int __unused1;
__extension__ unsigned long long int __unused2;
__extension__ unsigned long long int __glibc_reserved1;
__extension__ unsigned long long int __glibc_reserved2;
};

View File

@ -56,8 +56,8 @@ struct msqid_ds
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC

View File

@ -48,8 +48,8 @@ struct semid_ds
#endif
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
/* The user should define a union like the following to use it for arguments

View File

@ -64,8 +64,8 @@ struct shmid_ds
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC
@ -87,10 +87,10 @@ struct shminfo
unsigned long shmmni;
unsigned long shmseg;
unsigned long shmall;
unsigned long __unused1;
unsigned long __unused2;
unsigned long __unused3;
unsigned long __unused4;
unsigned long __glibc_reserved1;
unsigned long __glibc_reserved2;
unsigned long __glibc_reserved3;
unsigned long __glibc_reserved4;
};
struct shm_info

View File

@ -13,11 +13,11 @@ struct kernel_stat {
struct timespec st_ctim;
long st_blksize;
long st_blocks;
unsigned long __unused1; /* ACL stuff */
unsigned long __unused2; /* network */
unsigned long __unused3; /* network */
unsigned long __unused4; /* cnodes */
unsigned short __unused5; /* netsite */
unsigned long __glibc_reserved1; /* ACL stuff */
unsigned long __glibc_reserved2; /* network */
unsigned long __glibc_reserved3; /* network */
unsigned long __glibc_reserved4; /* cnodes */
unsigned short __glibc_reserved5; /* netsite */
short st_fstype;
unsigned long st_realdev;
unsigned short st_basemode;

View File

@ -48,6 +48,6 @@ struct ipc_perm
__mode_t mode; /* Read/write permission. */
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad1;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};

View File

@ -42,8 +42,8 @@ struct msqid_ds
unsigned long int msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC

View File

@ -42,8 +42,8 @@ struct semid_ds
__time_t sem_otime; /* last semop() time */
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
/* The user should define a union like the following to use it for arguments

View File

@ -52,8 +52,8 @@ struct shmid_ds
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC
@ -75,10 +75,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -64,7 +64,7 @@ struct stat
#endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
__blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
long int __glibc_reserved[3];
};
#ifdef __USE_LARGEFILE64
@ -103,7 +103,7 @@ struct stat64
#endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
__blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
long int __glibc_reserved[3];
};
#endif

View File

@ -84,8 +84,8 @@ struct stat
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
#ifndef __USE_FILE_OFFSET64
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
#else
__ino64_t st_ino; /* File serial number. */
#endif

View File

@ -71,8 +71,8 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
unsigned int __unused4;
unsigned int __unused5;
unsigned int __glibc_reserved4;
unsigned int __glibc_reserved5;
};
#else /* __USE_FILE_OFFSET64 */
/* MS: If __USE_FILE_OFFSET64 is setup then struct stat should match stat64
@ -115,8 +115,8 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
unsigned int __unused4;
unsigned int __unused5;
unsigned int __glibc_reserved4;
unsigned int __glibc_reserved5;
};
#endif /* __USE_FILE_OFFSET64 */
@ -156,8 +156,8 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
unsigned int __unused4;
unsigned int __unused5;
unsigned int __glibc_reserved4;
unsigned int __glibc_reserved5;
};
#endif

View File

@ -40,10 +40,10 @@ struct kernel_stat
struct timespec st_ctim;
#define _HAVE_STAT_NSEC
#define _HAVE_STAT64_NSEC
unsigned int __unused4;
unsigned int __glibc_reserved4;
#define _HAVE_STAT___UNUSED4
#define _HAVE_STAT64___UNUSED4
unsigned int __unused5;
unsigned int __glibc_reserved5;
#define _HAVE_STAT___UNUSED5
#define _HAVE_STAT64___UNUSED5
};

View File

@ -49,6 +49,6 @@ struct ipc_perm
unsigned int mode; /* Read/write permission. */
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad1;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};

View File

@ -39,33 +39,33 @@ struct msqid_ds
{
struct ipc_perm msg_perm; /* structure describing operation permission */
#if __WORDSIZE == 32 && defined (__MIPSEB__)
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t msg_stime; /* time of last msgsnd command */
#if __WORDSIZE == 32 && defined (__MIPSEL__)
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
#if __WORDSIZE == 32 && defined (__MIPSEB__)
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t msg_rtime; /* time of last msgrcv command */
#if __WORDSIZE == 32 && defined (__MIPSEL__)
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
#if __WORDSIZE == 32 && defined (__MIPSEB__)
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
__time_t msg_ctime; /* time of last change */
#if __WORDSIZE == 32 && defined (__MIPSEL__)
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
unsigned long int __msg_cbytes; /* current number of bytes on queue */
msgqnum_t msg_qnum; /* number of messages currently on queue */
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -41,8 +41,8 @@ struct semid_ds
__time_t sem_otime; /* last semop() time */
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
/* The user should define a union like the following to use it for arguments

View File

@ -53,8 +53,8 @@ struct shmid_ds
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC
@ -75,10 +75,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -586,7 +586,7 @@ struct gaicb
struct addrinfo *ar_result; /* Pointer to result. */
/* The following are internal elements. */
int __return;
int __unused[5];
int __glibc_reserved[5];
};
/* Lookup mode. */

View File

@ -54,7 +54,7 @@ struct aiocb
#else
__off64_t aio_offset; /* File offset. */
#endif
char __unused[32];
char __glibc_reserved[32];
};
/* The same for the 64bit offsets. Please note that the members aio_fildes
@ -77,7 +77,7 @@ struct aiocb64
__ssize_t __return_value;
__off64_t aio_offset; /* File offset. */
char __unused[32];
char __glibc_reserved[32];
};
#endif

View File

@ -81,7 +81,7 @@ struct utmp
#endif
int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};
/* Backwards compatibility hacks. */

View File

@ -78,7 +78,7 @@ struct utmpx
struct timeval ut_tv; /* Time entry was made. */
#endif
__int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};

View File

@ -38,7 +38,7 @@ struct icmphdr
u_int32_t gateway; /* gateway address */
struct
{
u_int16_t __unused;
u_int16_t __glibc_reserved;
u_int16_t mtu;
} frag; /* path mtu discovery */
} un;

View File

@ -50,6 +50,6 @@ struct ipc_perm
unsigned short int __pad1;
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad2;
__syscall_ulong_t __unused1;
__syscall_ulong_t __unused2;
__syscall_ulong_t __glibc_reserved1;
__syscall_ulong_t __glibc_reserved2;
};

View File

@ -39,18 +39,18 @@ struct msqid_ds
{
struct ipc_perm msg_perm; /* structure describing operation permission */
__time_t msg_stime; /* time of last msgsnd command */
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
__time_t msg_rtime; /* time of last msgrcv command */
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
__time_t msg_ctime; /* time of last change */
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
unsigned long int __msg_cbytes; /* current number of bytes on queue */
msgqnum_t msg_qnum; /* number of messages currently on queue */
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -39,12 +39,12 @@ struct semid_ds
{
struct ipc_perm sem_perm; /* operation permission struct */
__time_t sem_otime; /* last semop() time */
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
/* The user should define a union like the following to use it for arguments

View File

@ -51,16 +51,16 @@ struct shmid_ds
struct ipc_perm shm_perm; /* operation permission struct */
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
__time_t shm_dtime; /* time of last shmdt() */
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
__time_t shm_ctime; /* time of last change by shmctl() */
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC
@ -82,10 +82,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -84,8 +84,8 @@ struct stat
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
#ifndef __USE_FILE_OFFSET64
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
#else
__ino64_t st_ino; /* File serial number. */
#endif

View File

@ -18,9 +18,9 @@ struct kernel_stat
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
unsigned long int __unused4;
unsigned long int __glibc_reserved4;
#define _HAVE___UNUSED4
unsigned long int __unused5;
unsigned long int __glibc_reserved5;
#define _HAVE___UNUSED5
};

View File

@ -37,9 +37,9 @@ ntp_gettimex (struct ntptimeval *ntv)
ntv->maxerror = tntx.maxerror;
ntv->esterror = tntx.esterror;
ntv->tai = tntx.tai;
ntv->__unused1 = 0;
ntv->__unused2 = 0;
ntv->__unused3 = 0;
ntv->__unused4 = 0;
ntv->__glibc_reserved1 = 0;
ntv->__glibc_reserved2 = 0;
ntv->__glibc_reserved3 = 0;
ntv->__glibc_reserved4 = 0;
return result;
}

View File

@ -49,8 +49,8 @@ struct ipc_perm
__mode_t mode; /* Read/write permission. */
__uint32_t __seq; /* Sequence number. */
__uint32_t __pad1;
__uint64_t __unused1;
__uint64_t __unused2;
__uint64_t __glibc_reserved1;
__uint64_t __glibc_reserved2;
};

View File

@ -39,15 +39,15 @@ struct msqid_ds
{
struct ipc_perm msg_perm; /* structure describing operation permission */
#if __WORDSIZE == 32
unsigned int __unused1;
unsigned int __glibc_reserved1;
#endif
__time_t msg_stime; /* time of last msgsnd command */
#if __WORDSIZE == 32
unsigned int __unused2;
unsigned int __glibc_reserved2;
#endif
__time_t msg_rtime; /* time of last msgrcv command */
#if __WORDSIZE == 32
unsigned int __unused3;
unsigned int __glibc_reserved3;
#endif
__time_t msg_ctime; /* time of last change */
unsigned long __msg_cbytes; /* current number of bytes on queue */
@ -55,8 +55,8 @@ struct msqid_ds
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long __unused4;
unsigned long __unused5;
unsigned long __glibc_reserved4;
unsigned long __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -39,16 +39,16 @@ struct semid_ds
{
struct ipc_perm sem_perm; /* operation permission struct */
#if __WORDSIZE == 32
unsigned int __unused1;
unsigned int __glibc_reserved1;
#endif
__time_t sem_otime; /* last semop() time */
#if __WORDSIZE == 32
unsigned int __unused2;
unsigned int __glibc_reserved2;
#endif
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long __unused3;
unsigned long __unused4;
unsigned long __glibc_reserved3;
unsigned long __glibc_reserved4;
};
/* The user should define a union like the following to use it for arguments

View File

@ -50,26 +50,26 @@ struct shmid_ds
{
struct ipc_perm shm_perm; /* operation permission struct */
#if __WORDSIZE == 32
unsigned int __unused1;
unsigned int __glibc_reserved1;
#endif
__time_t shm_atime; /* time of last shmat() */
#if __WORDSIZE == 32
unsigned int __unused2;
unsigned int __glibc_reserved2;
#endif
__time_t shm_dtime; /* time of last shmdt() */
#if __WORDSIZE == 32
unsigned int __unused3;
unsigned int __glibc_reserved3;
#endif
__time_t shm_ctime; /* time of last change by shmctl() */
#if __WORDSIZE == 32
unsigned int __unused4;
unsigned int __glibc_reserved4;
#endif
size_t shm_segsz; /* size of segment in bytes */
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long __unused5;
unsigned long __unused6;
unsigned long __glibc_reserved5;
unsigned long __glibc_reserved6;
};
#ifdef __USE_MISC
@ -91,10 +91,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -91,8 +91,8 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
@ -131,8 +131,8 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
# endif /* __USE_LARGEFILE64 */
@ -185,9 +185,9 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __unused6;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
unsigned long int __glibc_reserved6;
};
# ifdef __USE_LARGEFILE64
@ -225,9 +225,9 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __unused6;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
unsigned long int __glibc_reserved6;
};
# endif /* __USE_LARGEFILE64 */
#endif

View File

@ -31,9 +31,9 @@ struct kernel_stat
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
unsigned long int __unused4;
unsigned long int __glibc_reserved4;
#define _HAVE___UNUSED4
unsigned long int __unused5;
unsigned long int __glibc_reserved5;
#define _HAVE___UNUSED5
};

View File

@ -97,7 +97,7 @@ typedef struct _libc_vrstate
} vrregset_t __attribute__((__aligned__(16)));
typedef struct {
unsigned long __unused[4];
unsigned long __glibc_reserved[4];
int signal;
int __pad0;
unsigned long handler;

View File

@ -55,6 +55,6 @@ struct ipc_perm
#endif
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad2;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};

View File

@ -41,23 +41,23 @@ struct msqid_ds
struct ipc_perm msg_perm; /* structure describing operation permission */
__time_t msg_stime; /* time of last msgsnd command */
#if __WORDSIZE != 64
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t msg_rtime; /* time of last msgrcv command */
#if __WORDSIZE != 64
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t msg_ctime; /* time of last change */
#if __WORDSIZE != 64
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
unsigned long int __msg_cbytes; /* current number of bytes on queue */
msgqnum_t msg_qnum; /* number of messages currently on queue */
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -41,15 +41,15 @@ struct semid_ds
struct ipc_perm sem_perm; /* operation permission struct */
__time_t sem_otime; /* last semop() time */
#if __WORDSIZE != 64
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t sem_ctime; /* last time changed by semctl() */
#if __WORDSIZE != 64
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
/* The user should define a union like the following to use it for arguments

View File

@ -53,21 +53,21 @@ struct shmid_ds
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
#if __WORDSIZE != 64
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t shm_dtime; /* time of last shmdt() */
#if __WORDSIZE != 64
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t shm_ctime; /* time of last change by shmctl() */
#if __WORDSIZE != 64
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC
@ -89,10 +89,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -81,7 +81,7 @@ struct stat
#endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
__blkcnt_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
long int __glibc_reserved[3];
};
#else
struct stat
@ -133,8 +133,8 @@ struct stat
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
# ifndef __USE_FILE_OFFSET64
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
# else
__ino64_t st_ino; /* File serial number. */
# endif
@ -178,7 +178,7 @@ struct stat64
# endif
__blksize_t st_blksize; /* Optimal block size for I/O. */
__blkcnt64_t st_blocks; /* Nr. 512-byte blocks allocated. */
long int __unused[3];
long int __glibc_reserved[3];
};
# else
struct stat64

View File

@ -81,7 +81,7 @@ struct utmp
#endif
int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};
/* Backwards compatibility hacks. */

View File

@ -78,7 +78,7 @@ struct utmpx
struct timeval ut_tv; /* Time entry was made. */
#endif
__int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};

View File

@ -44,7 +44,7 @@ struct utmp32
} ut_tv; /* Time entry was made. */
int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};

View File

@ -44,7 +44,7 @@ struct utmpx32
} ut_tv; /* Time entry was made. */
__int32_t ut_addr_v6[4]; /* Internet address of remote host. */
char __unused[20]; /* Reserved for future use. */
char __glibc_reserved[20]; /* Reserved for future use. */
};
/* The internal interface needed by the compat wrapper functions. */

View File

@ -49,16 +49,16 @@ struct shmid_ds
struct ipc_perm shm_perm; /* operation permission struct */
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
__time_t shm_dtime; /* time of last shmdt() */
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
__time_t shm_ctime; /* time of last change by shmctl() */
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_MISC
@ -80,10 +80,10 @@ struct shminfo
unsigned long int shmmni;
unsigned long int shmseg;
unsigned long int shmall;
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __unused3;
unsigned long int __unused4;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
unsigned long int __glibc_reserved3;
unsigned long int __glibc_reserved4;
};
struct shm_info

View File

@ -82,7 +82,7 @@ struct flock
__off64_t l_len; /* Size of the locked area; zero means until EOF. */
#endif
__pid_t l_pid; /* Process holding the lock. */
short int __unused;
short int __glibc_reserved;
};
#ifdef __USE_LARGEFILE64
@ -93,7 +93,7 @@ struct flock64
__off64_t l_start; /* Offset where the lock begins. */
__off64_t l_len; /* Size of the locked area; zero means until EOF. */
__pid_t l_pid; /* Process holding the lock. */
short int __unused;
short int __glibc_reserved;
};
#endif

View File

@ -56,6 +56,6 @@ struct ipc_perm
unsigned short int __pad1;
#endif
unsigned short int __seq; /* Sequence number. */
__extension__ unsigned long long int __unused1;
__extension__ unsigned long long int __unused2;
__extension__ unsigned long long int __glibc_reserved1;
__extension__ unsigned long long int __glibc_reserved2;
};

View File

@ -56,8 +56,8 @@ struct msqid_ds
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC

View File

@ -48,8 +48,8 @@ struct semid_ds
#endif
__time_t sem_ctime; /* last time changed by semctl() */
unsigned long int sem_nsems; /* number of semaphores in set */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
/* The user should define a union like the following to use it for arguments

View File

@ -66,8 +66,8 @@ struct shmid_ds
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
unsigned long int __unused1;
unsigned long int __unused2;
unsigned long int __glibc_reserved1;
unsigned long int __glibc_reserved2;
};
#ifdef __USE_MISC
@ -89,10 +89,10 @@ struct shminfo
unsigned long shmmni;
unsigned long shmseg;
unsigned long shmall;
unsigned long __unused1;
unsigned long __unused2;
unsigned long __unused3;
unsigned long __unused4;
unsigned long __glibc_reserved1;
unsigned long __glibc_reserved2;
unsigned long __glibc_reserved3;
unsigned long __glibc_reserved4;
};
struct shm_info

View File

@ -83,8 +83,8 @@ struct stat
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
#endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#ifdef __USE_LARGEFILE64
@ -126,8 +126,8 @@ struct stat64
__time_t st_ctime; /* Time of last status change. */
unsigned long int st_ctimensec; /* Nsecs of last status change. */
# endif
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#endif

View File

@ -14,8 +14,8 @@ struct kernel_stat
struct timespec st_ctim;
long int st_blksize;
long int st_blocks;
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
};
#define _HAVE___UNUSED4

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;

View File

@ -55,7 +55,7 @@ typedef struct
unsigned long pr_regs[32];
double pr_dregs[16];
} pr_fr;
unsigned long __unused;
unsigned long __glibc_reserved;
unsigned long pr_fsr;
unsigned char pr_qcnt;
unsigned char pr_q_entrysize;
@ -150,7 +150,7 @@ typedef struct
unsigned int pr_regs[32];
double pr_dregs[16];
} pr_fr;
unsigned int __unused;
unsigned int __glibc_reserved;
unsigned int pr_fsr;
unsigned char pr_qcnt;
unsigned char pr_q_entrysize;

View File

@ -34,10 +34,10 @@ struct ntptimeval
long int esterror; /* estimated error (us) (ro) */
long int tai; /* TAI offset (ro) */
long int __unused1;
long int __unused2;
long int __unused3;
long int __unused4;
long int __glibc_reserved1;
long int __glibc_reserved2;
long int __glibc_reserved3;
long int __glibc_reserved4;
};
/* Clock states (time_state) */

View File

@ -39,23 +39,23 @@ struct msqid_ds
struct ipc_perm msg_perm; /* structure describing operation permission */
__time_t msg_stime; /* time of last msgsnd command */
#ifndef __x86_64__
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t msg_rtime; /* time of last msgrcv command */
#ifndef __x86_64__
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t msg_ctime; /* time of last change */
#ifndef __x86_64__
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
__syscall_ulong_t __msg_cbytes; /* current number of bytes on queue */
msgqnum_t msg_qnum; /* number of messages currently on queue */
msglen_t msg_qbytes; /* max number of bytes allowed on queue */
__pid_t msg_lspid; /* pid of last msgsnd() */
__pid_t msg_lrpid; /* pid of last msgrcv() */
__syscall_ulong_t __unused4;
__syscall_ulong_t __unused5;
__syscall_ulong_t __glibc_reserved4;
__syscall_ulong_t __glibc_reserved5;
};
#ifdef __USE_MISC

View File

@ -39,12 +39,12 @@ struct semid_ds
{
struct ipc_perm sem_perm; /* operation permission struct */
__time_t sem_otime; /* last semop() time */
__syscall_ulong_t __unused1;
__syscall_ulong_t __glibc_reserved1;
__time_t sem_ctime; /* last time changed by semctl() */
__syscall_ulong_t __unused2;
__syscall_ulong_t __glibc_reserved2;
__syscall_ulong_t sem_nsems; /* number of semaphores in set */
__syscall_ulong_t __unused3;
__syscall_ulong_t __unused4;
__syscall_ulong_t __glibc_reserved3;
__syscall_ulong_t __glibc_reserved4;
};
/* The user should define a union like the following to use it for arguments

View File

@ -52,21 +52,21 @@ struct shmid_ds
size_t shm_segsz; /* size of segment in bytes */
__time_t shm_atime; /* time of last shmat() */
#ifndef __x86_64__
unsigned long int __unused1;
unsigned long int __glibc_reserved1;
#endif
__time_t shm_dtime; /* time of last shmdt() */
#ifndef __x86_64__
unsigned long int __unused2;
unsigned long int __glibc_reserved2;
#endif
__time_t shm_ctime; /* time of last change by shmctl() */
#ifndef __x86_64__
unsigned long int __unused3;
unsigned long int __glibc_reserved3;
#endif
__pid_t shm_cpid; /* pid of creator */
__pid_t shm_lpid; /* pid of last shmop */
shmatt_t shm_nattch; /* number of current attaches */
__syscall_ulong_t __unused4;
__syscall_ulong_t __unused5;
__syscall_ulong_t __glibc_reserved4;
__syscall_ulong_t __glibc_reserved5;
};
#ifdef __USE_MISC
@ -88,10 +88,10 @@ struct shminfo
__syscall_ulong_t shmmni;
__syscall_ulong_t shmseg;
__syscall_ulong_t shmall;
__syscall_ulong_t __unused1;
__syscall_ulong_t __unused2;
__syscall_ulong_t __unused3;
__syscall_ulong_t __unused4;
__syscall_ulong_t __glibc_reserved1;
__syscall_ulong_t __glibc_reserved2;
__syscall_ulong_t __glibc_reserved3;
__syscall_ulong_t __glibc_reserved4;
};
struct shm_info

View File

@ -103,11 +103,11 @@ struct stat
__syscall_ulong_t st_ctimensec; /* Nsecs of last status change. */
#endif
#ifdef __x86_64__
__syscall_slong_t __unused[3];
__syscall_slong_t __glibc_reserved[3];
#else
# ifndef __USE_FILE_OFFSET64
unsigned long int __unused4;
unsigned long int __unused5;
unsigned long int __glibc_reserved4;
unsigned long int __glibc_reserved5;
# else
__ino64_t st_ino; /* File serial number. */
# endif
@ -161,7 +161,7 @@ struct stat64
__syscall_ulong_t st_ctimensec; /* Nsecs of last status change. */
# endif
# ifdef __x86_64__
__syscall_slong_t __unused[3];
__syscall_slong_t __glibc_reserved[3];
# else
__ino64_t st_ino; /* File serial number. */
# endif

View File

@ -78,19 +78,19 @@ __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
buf->st_ctime = kbuf->st_ctime;
#endif
#ifdef _HAVE_STAT___UNUSED1
buf->__unused1 = 0;
buf->__glibc_reserved1 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED2
buf->__unused2 = 0;
buf->__glibc_reserved2 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED3
buf->__unused3 = 0;
buf->__glibc_reserved3 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED4
buf->__unused4 = 0;
buf->__glibc_reserved4 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED5
buf->__unused5 = 0;
buf->__glibc_reserved5 = 0;
#endif
}
break;
@ -149,19 +149,19 @@ __xstat64_conv (int vers, struct kernel_stat *kbuf, void *ubuf)
buf->st_ctime = kbuf->st_ctime;
#endif
#ifdef _HAVE_STAT64___UNUSED1
buf->__unused1 = 0;
buf->__glibc_reserved1 = 0;
#endif
#ifdef _HAVE_STAT64___UNUSED2
buf->__unused2 = 0;
buf->__glibc_reserved2 = 0;
#endif
#ifdef _HAVE_STAT64___UNUSED3
buf->__unused3 = 0;
buf->__glibc_reserved3 = 0;
#endif
#ifdef _HAVE_STAT64___UNUSED4
buf->__unused4 = 0;
buf->__glibc_reserved4 = 0;
#endif
#ifdef _HAVE_STAT64___UNUSED5
buf->__unused5 = 0;
buf->__glibc_reserved5 = 0;
#endif
}
break;
@ -254,19 +254,19 @@ __xstat32_conv (int vers, struct stat64 *kbuf, struct stat *buf)
#endif
#ifdef _HAVE_STAT___UNUSED1
buf->__unused1 = 0;
buf->__glibc_reserved1 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED2
buf->__unused2 = 0;
buf->__glibc_reserved2 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED3
buf->__unused3 = 0;
buf->__glibc_reserved3 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED4
buf->__unused4 = 0;
buf->__glibc_reserved4 = 0;
#endif
#ifdef _HAVE_STAT___UNUSED5
buf->__unused5 = 0;
buf->__glibc_reserved5 = 0;
#endif
}
break;

View File

@ -75,18 +75,18 @@ typedef unsigned short int fexcept_t;
typedef struct
{
unsigned short int __control_word;
unsigned short int __unused1;
unsigned short int __glibc_reserved1;
unsigned short int __status_word;
unsigned short int __unused2;
unsigned short int __glibc_reserved2;
unsigned short int __tags;
unsigned short int __unused3;
unsigned short int __glibc_reserved3;
unsigned int __eip;
unsigned short int __cs_selector;
unsigned int __opcode:11;
unsigned int __unused4:5;
unsigned int __glibc_reserved4:5;
unsigned int __data_offset;
unsigned short int __data_selector;
unsigned short int __unused5;
unsigned short int __glibc_reserved5;
#ifdef __x86_64__
unsigned int __mxcsr;
#endif