From f1775381f91f1250b20f1949dfd0364ddb0ee9fc Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 23 Jul 2008 11:19:00 +0000 Subject: - fix inline keyword --- libpthread/linuxthreads/internals.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread/linuxthreads/internals.h') diff --git a/libpthread/linuxthreads/internals.h b/libpthread/linuxthreads/internals.h index 8e270e37a..ecb7b03dd 100644 --- a/libpthread/linuxthreads/internals.h +++ b/libpthread/linuxthreads/internals.h @@ -174,19 +174,19 @@ extern int __pthread_smp_kernel; /* Return the handle corresponding to a thread id */ -static inline pthread_handle thread_handle(pthread_t id) +static __inline__ pthread_handle thread_handle(pthread_t id) { return &__pthread_handles[id % PTHREAD_THREADS_MAX]; } /* Validate a thread handle. Must have acquired h->h_spinlock before. */ -static inline int invalid_handle(pthread_handle h, pthread_t id) +static __inline__ int invalid_handle(pthread_handle h, pthread_t id) { return h->h_descr == NULL || h->h_descr->p_tid != id || h->h_descr->p_terminated; } -static inline int nonexisting_handle(pthread_handle h, pthread_t id) +static __inline__ int nonexisting_handle(pthread_handle h, pthread_t id) { return h->h_descr == NULL || h->h_descr->p_tid != id; } -- cgit v1.2.3