summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pthread/pthread.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index bbb6c9f..24a6fa3 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -234,7 +234,7 @@ extern int pthread_equal (pthread_t __t1, pthread_t __t2) __THROW;
# ifdef __USE_EXTERN_INLINES
__extern_inline int
-pthread_equal (pthread_t __t1, pthread_t __t2)
+pthread_equal (pthread_t __t1, pthread_t __t2) __THROW
{
return __pthread_equal (__t1, __t2);
}
@@ -516,31 +516,31 @@ extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
# include <bits/spin-lock-inline.h>
__extern_inline int
-pthread_spin_destroy (pthread_spinlock_t *__lock)
+pthread_spin_destroy (pthread_spinlock_t *__lock) __THROW
{
return __pthread_spin_destroy (__lock);
}
__extern_inline int
-pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
+pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __THROW
{
return __pthread_spin_init (__lock, __pshared);
}
__extern_inline int
-pthread_spin_lock (pthread_spinlock_t *__lock)
+pthread_spin_lock (pthread_spinlock_t *__lock) __THROWNL
{
return __pthread_spin_lock (__lock);
}
__extern_inline int
-pthread_spin_trylock (pthread_spinlock_t *__lock)
+pthread_spin_trylock (pthread_spinlock_t *__lock) __THROWNL
{
return __pthread_spin_trylock (__lock);
}
__extern_inline int
-pthread_spin_unlock (pthread_spinlock_t *__lock)
+pthread_spin_unlock (pthread_spinlock_t *__lock) __THROWNL
{
return __pthread_spin_unlock (__lock);
}