summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-07-28 17:02:54 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-07-28 17:02:54 +0000
commitf9741433e1d668888fc1305f4261e98775673f60 (patch)
treedeea3f5a632dcf5ca4c572e84065c202e2078135
parente970fad1d72896309138a6a7f28e83ad853b0f01 (diff)
Add missing #include <bits/wordsize.h> and change __kernel_time to
__time. Minior WS touchup also.
-rw-r--r--libc/sysdeps/linux/powerpc/bits/sem.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/powerpc/bits/sem.h b/libc/sysdeps/linux/powerpc/bits/sem.h
index 4b76185ce..6a615f154 100644
--- a/libc/sysdeps/linux/powerpc/bits/sem.h
+++ b/libc/sysdeps/linux/powerpc/bits/sem.h
@@ -22,6 +22,7 @@
#endif
#include <sys/types.h>
+#include <bits/wordsize.h>
/* Flags for `semop'. */
#define SEM_UNDO 0x1000 /* undo the operation on exit */
@@ -30,8 +31,8 @@
#define GETPID 11 /* get sempid */
#define GETVAL 12 /* get semval */
#define GETALL 13 /* get all semval's */
-#define GETNCNT 14 /* get semncnt */
-#define GETZCNT 15 /* get semzcnt */
+#define GETNCNT 14 /* get semncnt */
+#define GETZCNT 15 /* get semzcnt */
#define SETVAL 16 /* set semval */
#define SETALL 17 /* set all semval's */
@@ -43,11 +44,11 @@ struct semid_ds
#if __WORDSIZE == 32
unsigned int __unused1;
#endif
- __kernel_time_t sem_otime; /* last semop() time */
+ __time_t sem_otime; /* last semop() time */
#if __WORDSIZE == 32
unsigned int __unused2;
#endif
- __kernel_time_t sem_ctime; /* last time changed by semctl() */
+ __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;