2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Mar 2008 17:12:52 +0000 (17:12 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Mar 2008 17:12:52 +0000 (17:12 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132802 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gthr-posix.h
gcc/gthr-posix95.h

index 2455b17..ff83b9c 100644 (file)
@@ -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.
index b0c9ebb..a6c9ba3 100644 (file)
@@ -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
index d993c13..625f799 100644 (file)
@@ -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)