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
This commit is contained in:
Janne Blomqvist 2008-03-01 19:12:52 +02:00 committed by Jerry DeLisle
parent ac27abdc1d
commit 5eb4a9af17
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,10 @@
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

View 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

View 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)