]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
authorRoland McGrath <roland@gnu.org>
Fri, 22 Nov 2002 05:23:51 +0000 (05:23 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 22 Nov 2002 05:23:51 +0000 (05:23 +0000)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
and __unused3 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1
and __unused2 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
__unused3,\ 3and __unused4 fields.

ChangeLog
sysdeps/unix/sysv/linux/powerpc/bits/msq.h
sysdeps/unix/sysv/linux/powerpc/bits/sem.h
sysdeps/unix/sysv/linux/powerpc/bits/shm.h

index e563e01590479b700e05f488bfe5d00e8d3a0f1a..e1105015cb2fd614070144d171750b5fee17bd9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2002-11-20  Steven Munroe  <sjmunroe@us.ibm.com>
 
+       * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
+       [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
+       and __unused3 fields.
+       * sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
+       [__WORDSIZE == 32]: Only PPC32 requires __unused1
+       and __unused2 fields.
+       * sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
+       [__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
+       __unused3,\ 3and __unused4 fields.
+
        * csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
        obtain lowest address for profiling in __monstartup call.
 
index 654ee5bc254985c73c6398fb516211d6e6b82321..f198844376e0db1a400553f01793335cde377466 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -38,11 +38,17 @@ typedef unsigned long int msglen_t;
 struct msqid_ds
 {
   struct ipc_perm msg_perm;    /* structure describing operation permission */
+#if __WORDSIZE == 32
   unsigned int __unused1;
+#endif
   __time_t msg_stime;          /* time of last msgsnd command */
+#if __WORDSIZE == 32
   unsigned int __unused2;
+#endif
   __time_t msg_rtime;          /* time of last msgrcv command */
+#if __WORDSIZE == 32
   unsigned int __unused3;
+#endif
   __time_t msg_ctime;          /* time of last change */
   unsigned long __msg_cbytes; /* current number of bytes on queue */
   msgqnum_t msg_qnum;          /* number of messages currently on queue */
index d921e59d350d106acc7237878d23c359ca7235ed..1c648cd195c77a0a2e4555e3176670da65b20e48 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 2000, 2002 
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 struct semid_ds
 {
   struct ipc_perm sem_perm;            /* operation permission struct */
+#if __WORDSIZE == 32
   unsigned int __unused1;
+#endif
   __time_t sem_otime;                  /* last semop() time */
+#if __WORDSIZE == 32
   unsigned int __unused2;
+#endif
   __time_t sem_ctime;                  /* last time changed by semctl() */
   unsigned long int sem_nsems;         /* number of semaphores in set */
   unsigned long __unused3;
index 33b918f2a65907d04ca8d34819f78c3335d8850e..5316f0985befce5a8a13004d39eee38bb96813f2 100644 (file)
@@ -47,13 +47,21 @@ typedef unsigned long int shmatt_t;
 struct shmid_ds
   {
     struct ipc_perm shm_perm;          /* operation permission struct */
+#if __WORDSIZE == 32
     unsigned int __unused1;
+#endif
     __time_t shm_atime;                        /* time of last shmat() */
+#if __WORDSIZE == 32
     unsigned int __unused2;
+#endif
     __time_t shm_dtime;                        /* time of last shmdt() */
+#if __WORDSIZE == 32
     unsigned int __unused3;
-    __time_t shm_ctime;                        /* time of last change by shmctl() */
+#endif
+    __time_t shm_ctime;                        /* time of last change by shmctl() */
+#if __WORDSIZE == 32
     unsigned int __unused4;
+#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 */