summaryrefslogtreecommitdiff
path: root/linuxthreads/semaphore.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-12-27 06:08:32 +0000
committerUlrich Drepper <drepper@redhat.com>2003-12-27 06:08:32 +0000
commit8f8b76f08b79f52bd491057dfc1de84e2d3803ae (patch)
tree17b8c14f09d01594b8c5d897693cfa9124321520 /linuxthreads/semaphore.h
parent057829267eb3220382dc5b77a09febc0c688bf71 (diff)
Remove __THROW from cancellation points.
Diffstat (limited to 'linuxthreads/semaphore.h')
-rw-r--r--linuxthreads/semaphore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h
index 9c283c8644..7b09ea9319 100644
--- a/linuxthreads/semaphore.h
+++ b/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. */