diff options
author | Jason Merrill <jason@redhat.com> | 2004-08-30 12:34:06 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2004-08-30 12:34:06 -0400 |
commit | 70008293df44d3d3e26ef909ceb49424fe9e7e26 (patch) | |
tree | 3260b503e51388137b2143eddf7b9ad4878b42b6 /gcc/gthr-posix.h | |
parent | 315fb5dbc92056fd5404e810acebbb2832b81ef8 (diff) | |
download | gcc-70008293df44d3d3e26ef909ceb49424fe9e7e26.zip gcc-70008293df44d3d3e26ef909ceb49424fe9e7e26.tar.gz gcc-70008293df44d3d3e26ef909ceb49424fe9e7e26.tar.bz2 |
* gthr-posix.h: Add #pragma weaks.
From-SVN: r86783
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r-- | gcc/gthr-posix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 9120410..940c721 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 |