summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gthr-posix.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 045f2317416..74c51bc0408 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-23 Jan Beulich <jbeulich@novell.com>
+
+ * gthr-posix.h (__gthread_recursive_mutex_init_function): Add
+ missing return statement.
+
2005-05-22 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h
index 9b56b5aec51..938b4f15dd9 100644
--- a/gcc/gthr-posix.h
+++ b/gcc/gthr-posix.h
@@ -548,6 +548,7 @@ __gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *mutex)
r = pthread_mutexattr_destroy (&attr);
return r;
}
+ return 0;
}
#endif