From 5561998d3f57b23914c5a8cc5a07e53492242a3e Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 11 Jun 2001 12:59:34 +0000 Subject: * 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. --- semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'semaphore.h') 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, -- cgit v1.2.3