diff options
Diffstat (limited to 'ports')
36 files changed, 150 insertions, 111 deletions
diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 8f97951..05c6ba4 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -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 diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 2ee4444..4124e47 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -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 diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index 82df2ce..6a28bfe 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -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 diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64 index 8913329..d2825f1 100644 --- a/ports/ChangeLog.ia64 +++ b/ports/ChangeLog.ia64 @@ -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 diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k index 327216f..f78f384 100644 --- a/ports/ChangeLog.m68k +++ b/ports/ChangeLog.m68k @@ -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 ... diff --git a/ports/ChangeLog.microblaze b/ports/ChangeLog.microblaze index d792eff..0762dd3 100644 --- a/ports/ChangeLog.microblaze +++ b/ports/ChangeLog.microblaze @@ -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 ... diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 3382d83..753e04b 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -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 ... diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/ipc.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/ipc.h index 66903d3..deb3a2b 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/ipc.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/ipc.h @@ -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; }; diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h index 8bb057b..415ef21 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/msq.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/sem.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/sem.h index c2d73aa..739cbc4 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/sem.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/sem.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/shm.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/shm.h index 125e277..cd9476f 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/shm.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h index 3e10647..c34cbca 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/alpha/kernel_stat.h b/ports/sysdeps/unix/sysv/linux/alpha/kernel_stat.h index 94d358e..6708411 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/kernel_stat.h +++ b/ports/sysdeps/unix/sysv/linux/alpha/kernel_stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/alpha/xstatconv.c b/ports/sysdeps/unix/sysv/linux/alpha/xstatconv.c index 79ec578..4e7e78b 100644 --- a/ports/sysdeps/unix/sysv/linux/alpha/xstatconv.c +++ b/ports/sysdeps/unix/sysv/linux/alpha/xstatconv.c @@ -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; diff --git a/ports/sysdeps/unix/sysv/linux/arm/bits/shm.h b/ports/sysdeps/unix/sysv/linux/arm/bits/shm.h index 08a0ca4..eb581ea 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/arm/bits/shm.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/msq.h b/ports/sysdeps/unix/sysv/linux/generic/bits/msq.h index 49cbf06..c2680d0 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/msq.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/msq.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/sem.h b/ports/sysdeps/unix/sysv/linux/generic/bits/sem.h index 8b926ce..7b5d36a 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/sem.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/sem.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/shm.h b/ports/sysdeps/unix/sysv/linux/generic/bits/shm.h index 070058f..5afd30f 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/shm.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h b/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h index feb5f2b..a9a42cc 100644 --- a/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/generic/bits/stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/ipc.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/ipc.h index 04a75e2..34827a9 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/ipc.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/ipc.h @@ -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; }; diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/msq.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/msq.h index ac35f51..366165e 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/msq.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/msq.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/sem.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/sem.h index 9c18016..9f47117 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/sem.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/sem.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/bits/shm.h b/ports/sysdeps/unix/sysv/linux/hppa/bits/shm.h index 9ebf2ec..6905df0 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/shm.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/kernel_stat.h b/ports/sysdeps/unix/sysv/linux/hppa/kernel_stat.h index a85c5be..e3ea724 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/kernel_stat.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/kernel_stat.h @@ -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; diff --git a/ports/sysdeps/unix/sysv/linux/ia64/bits/ipc.h b/ports/sysdeps/unix/sysv/linux/ia64/bits/ipc.h index 1063828..fb78b5b 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/bits/ipc.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/bits/ipc.h @@ -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; }; diff --git a/ports/sysdeps/unix/sysv/linux/ia64/bits/msq.h b/ports/sysdeps/unix/sysv/linux/ia64/bits/msq.h index 8519390..f3f9f75 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/bits/msq.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/bits/msq.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/ia64/bits/sem.h b/ports/sysdeps/unix/sysv/linux/ia64/bits/sem.h index 392493b..998ba85 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/bits/sem.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/bits/sem.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/ia64/bits/shm.h b/ports/sysdeps/unix/sysv/linux/ia64/bits/shm.h index 05755f8..a6c0910 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/bits/shm.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h b/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h index b2071cd..d984dc4 100644 --- a/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/ia64/bits/stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/m68k/bits/stat.h b/ports/sysdeps/unix/sysv/linux/m68k/bits/stat.h index fb65b14..da6e456 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/m68k/bits/stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/bits/stat.h b/ports/sysdeps/unix/sysv/linux/microblaze/bits/stat.h index 0fa0edb..e41d992 100644 --- a/ports/sysdeps/unix/sysv/linux/microblaze/bits/stat.h +++ b/ports/sysdeps/unix/sysv/linux/microblaze/bits/stat.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/microblaze/kernel_stat.h b/ports/sysdeps/unix/sysv/linux/microblaze/kernel_stat.h index 2823856..12d718e 100644 --- a/ports/sysdeps/unix/sysv/linux/microblaze/kernel_stat.h +++ b/ports/sysdeps/unix/sysv/linux/microblaze/kernel_stat.h @@ -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 }; diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h b/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h index 8b2892d..82496d6 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h +++ b/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h @@ -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; }; diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/msq.h b/ports/sysdeps/unix/sysv/linux/mips/bits/msq.h index e814bc7..f97585c 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/bits/msq.h +++ b/ports/sysdeps/unix/sysv/linux/mips/bits/msq.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/sem.h b/ports/sysdeps/unix/sysv/linux/mips/bits/sem.h index c2d73aa..739cbc4 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/bits/sem.h +++ b/ports/sysdeps/unix/sysv/linux/mips/bits/sem.h @@ -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 diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/shm.h b/ports/sysdeps/unix/sysv/linux/mips/bits/shm.h index 5c11803..28d8ab0 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/bits/shm.h +++ b/ports/sysdeps/unix/sysv/linux/mips/bits/shm.h @@ -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 |