From: Jason Merrill Date: Mon, 30 Aug 2004 16:34:06 +0000 (-0400) Subject: * gthr-posix.h: Add #pragma weaks. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70008293df44d3d3e26ef909ceb49424fe9e7e26;p=gcc.git * gthr-posix.h: Add #pragma weaks. From-SVN: r86783 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdd8639121f..76b7cdce2ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-08-30 Jason Merrill + + * gthr-posix.h: Add #pragma weaks. + 2004-08-30 Nathan Sidwell * gcov-io.c (GCOV_CHECK): Use gcc_assert when available. diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 91204104658..940c7218ee5 100644 --- a/gcc/gthr-posix.h +++ b/gcc/gthr-posix.h @@ -70,6 +70,11 @@ typedef pthread_mutex_t __gthread_recursive_mutex_t; #pragma weak pthread_mutex_lock #pragma weak pthread_mutex_trylock #pragma weak pthread_mutex_unlock +#pragma weak pthread_mutexattr_init +#pragma weak pthread_mutexattr_settype +#pragma weak pthread_mutexattr_destroy + +#pragma weak pthread_mutex_init #if defined(_LIBOBJC) || defined(_LIBOBJC_WEAK) /* Objective-C. */ @@ -79,7 +84,6 @@ typedef pthread_mutex_t __gthread_recursive_mutex_t; #pragma weak pthread_cond_signal #pragma weak pthread_cond_wait #pragma weak pthread_exit -#pragma weak pthread_mutex_init #pragma weak pthread_mutex_destroy #pragma weak pthread_self #ifdef _POSIX_PRIORITY_SCHEDULING