From d37527501c85edcb3a6a7c8a0b6297d52d434897 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Tue, 20 Jan 2009 14:03:55 -0800 Subject: auto import from //branches/cupcake/...@127101 --- libc/include/semaphore.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/include') diff --git a/libc/include/semaphore.h b/libc/include/semaphore.h index fdc401a..30e3123 100644 --- a/libc/include/semaphore.h +++ b/libc/include/semaphore.h @@ -50,6 +50,9 @@ extern int sem_trywait(sem_t *); extern int sem_unlink(const char *); extern int sem_wait(sem_t *); +struct timespec; +extern int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout); + __END_DECLS #endif /* _SEMAPHORE_H */ -- cgit v1.1