summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-20 14:03:55 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-20 14:03:55 -0800
commitd37527501c85edcb3a6a7c8a0b6297d52d434897 (patch)
treef005d945ce90569b8e63cf42294ab42dddab52c2 /libc/include
parente5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2 (diff)
downloadbionic-d37527501c85edcb3a6a7c8a0b6297d52d434897.zip
bionic-d37527501c85edcb3a6a7c8a0b6297d52d434897.tar.gz
bionic-d37527501c85edcb3a6a7c8a0b6297d52d434897.tar.bz2
auto import from //branches/cupcake/...@127101
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/semaphore.h3
1 files changed, 3 insertions, 0 deletions
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 */