summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-14 18:46:45 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-14 18:46:45 +0000
commit103f8e4176171e091fa32992c0787f6e1e49de16 (patch)
treec1419a862c9d6964af90cad73cca1295a846ccad /libc/sysdeps/linux/common/bits
parent533d76fbc420a8cdca389dbea0d86eb64e0e8096 (diff)
Use the common version for bits/sem.h. Fixup the types to
match the kernel type exactly.
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/sem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/bits/sem.h b/libc/sysdeps/linux/common/bits/sem.h
index 864e0a947..f900136f0 100644
--- a/libc/sysdeps/linux/common/bits/sem.h
+++ b/libc/sysdeps/linux/common/bits/sem.h
@@ -38,8 +38,8 @@
/* Data structure describing a set of semaphores. */
struct semid_ds {
struct ipc_perm sem_perm; /* permissions .. see ipc.h */
- time_t sem_otime; /* last semop time */
- time_t sem_ctime; /* last change time */
+ __kernel_time_t sem_otime; /* last semop time */
+ __kernel_time_t sem_ctime; /* last change time */
struct sem *sem_base; /* ptr to first semaphore in array */
struct sem_queue *sem_pending; /* pending operations to be processed */
struct sem_queue **sem_pending_last; /* last pending operation */