summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/semaphore.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-08 02:59:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-08 02:59:01 +0000
commit00ff75bca34a94ec27f17f981d1ad8c891a5fd53 (patch)
treedb045290957b0cfd8739bed494074c3bb8aed9ba /libpthread/linuxthreads/semaphore.h
parenta6f23153a4b01b412cf7ef447e757a88fe1db904 (diff)
sync with glibc
Diffstat (limited to 'libpthread/linuxthreads/semaphore.h')
-rw-r--r--libpthread/linuxthreads/semaphore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libpthread/linuxthreads/semaphore.h b/libpthread/linuxthreads/semaphore.h
index 9c283c864..7b09ea931 100644
--- a/libpthread/linuxthreads/semaphore.h
+++ b/libpthread/linuxthreads/semaphore.h
@@ -64,13 +64,12 @@ extern int sem_close (sem_t *__sem) __THROW;
extern int sem_unlink (__const char *__name) __THROW;
/* Wait for SEM being posted. */
-extern int sem_wait (sem_t *__sem) __THROW;
+extern int sem_wait (sem_t *__sem);
#ifdef __USE_XOPEN2K
/* Similar to `sem_wait' but wait only until ABSTIME. */
extern int sem_timedwait (sem_t *__restrict __sem,
- __const struct timespec *__restrict __abstime)
- __THROW;
+ __const struct timespec *__restrict __abstime);
#endif
/* Test whether SEM is posted. */