about summary refs log tree commit diff
path: root/ports/sysdeps/unix/sysv/linux/mips/bits
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-11-26 12:29:20 +0100
committerOndřej Bílka <neleai@seznam.cz>2013-11-26 12:32:28 +0100
commitd1d9eaf478b7d3a11a599c120498b79fe5629a61 (patch)
tree47bc37ce2eddc0e89daf81a0650a332066d59541 /ports/sysdeps/unix/sysv/linux/mips/bits
parent246b27983b908a241f025ccc2afe87a9e6f32203 (diff)
downloadglibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.tar.gz
glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.tar.xz
glibc-d1d9eaf478b7d3a11a599c120498b79fe5629a61.zip
Use __glibc_reserved instead __unused.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/mips/bits')
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h4
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/bits/msq.h16
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/bits/sem.h4
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/bits/shm.h12
4 files changed, 18 insertions, 18 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h b/ports/sysdeps/unix/sysv/linux/mips/bits/ipc.h
index 8b2892d52b..82496d6841 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 e814bc722f..f97585cfd3 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 c2d73aa4e8..739cbc415f 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 5c118037b1..28d8ab05d1 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