summaryrefslogtreecommitdiff
path: root/gcc/gthr-mipssde.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gthr-mipssde.h')
-rw-r--r--gcc/gthr-mipssde.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gthr-mipssde.h b/gcc/gthr-mipssde.h
index 28111e3929e..b8cf24ebc75 100644
--- a/gcc/gthr-mipssde.h
+++ b/gcc/gthr-mipssde.h
@@ -135,6 +135,12 @@ __gthread_setspecific (__gthread_key_t key, const void *ptr)
}
static inline int
+__gthread_mutex_destroy (__gthread_mutex_t * UNUSED(mutex))
+{
+ return 0;
+}
+
+static inline int
__gthread_mutex_lock (__gthread_mutex_t *mutex)
{
if (__gthread_active_p ())