diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-13 21:03:10 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-13 21:12:37 +0100 |
commit | 21cbb6fe887a30f0777521ec10f0d0d9c2a7da7e (patch) | |
tree | 73b95a94eae224cddb38c3f8d0b0ce5700ecf8c4 /libpthread/nptl/semaphore.h | |
parent | 8c66e0a6c7987cda9df8c88e84b3d50d573c1dbb (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/nptl/semaphore.h')
-rw-r--r-- | libpthread/nptl/semaphore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/semaphore.h b/libpthread/nptl/semaphore.h index aa0f9294e..c7f195bdf 100644 --- a/libpthread/nptl/semaphore.h +++ b/libpthread/nptl/semaphore.h @@ -63,10 +63,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) |