summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/bits/sem.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-22 05:23:51 +0000
committerRoland McGrath <roland@gnu.org>2002-11-22 05:23:51 +0000
commit4a32f19d57faae36a7fcd95c60c129c307f79182 (patch)
treeb2822f544b5d5053159f808bf9c6867d992af25a /sysdeps/unix/sysv/linux/powerpc/bits/sem.h
parenta241310659df2e79bcc67b48193ae648eb505f78 (diff)
downloadglibc-4a32f19d57faae36a7fcd95c60c129c307f79182.tar.gz
glibc-4a32f19d57faae36a7fcd95c60c129c307f79182.tar.xz
glibc-4a32f19d57faae36a7fcd95c60c129c307f79182.zip
* 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,and __unused4 fields.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits/sem.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/sem.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/sem.h b/sysdeps/unix/sysv/linux/powerpc/bits/sem.h
index d921e59d35..1c648cd195 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/sem.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/sem.h
@@ -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
@@ -39,9 +40,13 @@
 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;