summaryrefslogtreecommitdiff
path: root/semaphore.h
diff options
context:
space:
mode:
authorrpj <rpj>2001-06-11 12:59:34 +0000
committerrpj <rpj>2001-06-11 12:59:34 +0000
commit5561998d3f57b23914c5a8cc5a07e53492242a3e (patch)
tree98747b22eeea71cceb65775fdba209de8590b37c /semaphore.h
parentcde63164e7f952ed0980fe62877796b81f749310 (diff)
* semaphore.h (sem_t): Fixed for compile and test.
* implement.h (sem_t_): Likewise. * semaphore.c: Likewise. * private.c (ptw32_sem_timedwait): Updated to use new opaque sem_t. tests/ * mutex5.c: Insert inert change to quell compiler warnings. * condvar3_2.c: Remove unused variable.
Diffstat (limited to 'semaphore.h')
-rw-r--r--semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/semaphore.h b/semaphore.h
index 3616b11..71679dd 100644
--- a/semaphore.h
+++ b/semaphore.h
@@ -65,7 +65,7 @@ typedef unsigned int mode_t;
#endif
-typedef sem_t_ * sem_t;
+typedef struct sem_t_ * sem_t;
int sem_init (sem_t * sem,
int pshared,