aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2008-03-01 19:12:52 +0200
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2008-03-01 17:12:52 +0000
commit5eb4a9af17425b88532437c4c1c97bef313ac443 (patch)
tree1a0f712cbc8547283c515d6c00a9736165f45f93 /gcc
parentac27abdc1dbfb8fd9ad3ee5b86395e873b944db5 (diff)
downloadgcc-5eb4a9af17425b88532437c4c1c97bef313ac443.zip
gcc-5eb4a9af17425b88532437c4c1c97bef313ac443.tar.gz
gcc-5eb4a9af17425b88532437c4c1c97bef313ac443.tar.bz2
re PR libfortran/35063 (Clean up use of destroy_unit_mutex())
2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> PR gcc/35063 * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations. * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes regression from previous patch. From-SVN: r132802
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/gthr-posix.h2
-rw-r--r--gcc/gthr-posix95.h1
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2455b17..ff83b9c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,13 @@
2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
PR gcc/35063
+ * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations.
+ * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes
+ regression from previous patch.
+
+2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR gcc/35063
* gthr.h: Add __gthread_mutex_destroy as a function that must be
implemented.
* gthr-vxworks.h (__gthread_mutex_destroy): Null implementation.
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h
index b0c9ebb..a6c9ba3 100644
--- a/gcc/gthr-posix.h
+++ b/gcc/gthr-posix.h
@@ -126,14 +126,12 @@ __gthrw3(pthread_cond_destroy)
__gthrw3(pthread_cond_init)
__gthrw3(pthread_cond_signal)
__gthrw3(pthread_exit)
-__gthrw3(pthread_mutex_destroy)
__gthrw3(pthread_self)
#else
__gthrw(pthread_cond_destroy)
__gthrw(pthread_cond_init)
__gthrw(pthread_cond_signal)
__gthrw(pthread_exit)
-__gthrw(pthread_mutex_destroy)
__gthrw(pthread_self)
#endif /* __osf__ && _PTHREAD_USE_MANGLED_NAMES_ */
#ifdef _POSIX_PRIORITY_SCHEDULING
diff --git a/gcc/gthr-posix95.h b/gcc/gthr-posix95.h
index d993c13..625f799 100644
--- a/gcc/gthr-posix95.h
+++ b/gcc/gthr-posix95.h
@@ -97,7 +97,6 @@ __gthrw(pthread_cond_destroy)
__gthrw(pthread_cond_init)
__gthrw(pthread_cond_signal)
__gthrw(pthread_exit)
-__gthrw(pthread_mutex_destroy)
#ifdef _POSIX_PRIORITY_SCHEDULING
#ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
__gthrw(sched_get_priority_max)