summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/semaphore.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-13 21:03:10 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-13 21:12:37 +0100
commit21cbb6fe887a30f0777521ec10f0d0d9c2a7da7e (patch)
tree73b95a94eae224cddb38c3f8d0b0ce5700ecf8c4 /libpthread/linuxthreads/semaphore.h
parent8c66e0a6c7987cda9df8c88e84b3d50d573c1dbb (diff)
unistd.h: put getppid under XOPEN2K8
Add __LEAF to all __THROW, introduce non-leaf __THROWNL Adjust affected spots accordingly. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads/semaphore.h')
-rw-r--r--libpthread/linuxthreads/semaphore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/semaphore.h b/libpthread/linuxthreads/semaphore.h
index 7f3dbadfb..7ab772bfa 100644
--- a/libpthread/linuxthreads/semaphore.h
+++ b/libpthread/linuxthreads/semaphore.h
@@ -82,10 +82,10 @@ extern int sem_timedwait (sem_t *__restrict __sem,
#endif
/* Test whether SEM is posted. */
-extern int sem_trywait (sem_t *__sem) __THROW;
+extern int sem_trywait (sem_t *__sem) __THROWNL;
/* Post SEM. */
-extern int sem_post (sem_t *__sem) __THROW;
+extern int sem_post (sem_t *__sem) __THROWNL;
/* Get current value of SEM and store it in *SVAL. */
extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval)