diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 16:34:06 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-30 16:34:06 +0000 |
commit | fcbbb04c463924584fbc233978c8fe4118ecb6b7 (patch) | |
tree | 3260b503e51388137b2143eddf7b9ad4878b42b6 /gcc/gthr-posix.h | |
parent | 2e3e31d228a5258a9a4de81e29e81b414422447e (diff) | |
download | gcc-fcbbb04c463924584fbc233978c8fe4118ecb6b7.tar.gz |
* gthr-posix.h: Add #pragma weaks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86783 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 |