diff options
Diffstat (limited to 'gcc/gthr-single.h')
-rw-r--r-- | gcc/gthr-single.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/gthr-single.h b/gcc/gthr-single.h index 72edfc35285..f8dfbff4e64 100644 --- a/gcc/gthr-single.h +++ b/gcc/gthr-single.h @@ -42,19 +42,19 @@ __gthread_active_p () } static inline int -__gthread_mutex_lock (__gthread_mutex_t *mutex) +__gthread_mutex_lock (__gthread_mutex_t *mutex __attribute__ ((__unused__))) { return 0; } static inline int -__gthread_mutex_trylock (__gthread_mutex_t *mutex) +__gthread_mutex_trylock (__gthread_mutex_t *mutex __attribute__ ((__unused__))) { return 0; } static inline int -__gthread_mutex_unlock (__gthread_mutex_t *mutex) +__gthread_mutex_unlock (__gthread_mutex_t *mutex __attribute__ ((__unused__))) { return 0; } |