* gthr-posix.h: Add #pragma weaks.
authorJason Merrill <jason@redhat.com>
Mon, 30 Aug 2004 16:34:06 +0000 (12:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 30 Aug 2004 16:34:06 +0000 (12:34 -0400)
From-SVN: r86783

gcc/ChangeLog
gcc/gthr-posix.h

index fdd8639121f1b29795aa6045b401a372bba4b83a..76b7cdce2ea470fc72f6d987676146aaa51af76f 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-30  Jason Merrill  <jason@redhat.com>
+
+       * gthr-posix.h: Add #pragma weaks.
+
 2004-08-30  Nathan Sidwell  <nathan@codesourcery.com>
 
        * gcov-io.c (GCOV_CHECK): Use gcc_assert when available.
index 91204104658c3c5ab764cf3cee7a9094387f90ce..940c7218ee5f639db1c10bd328505d9e6de02ae0 100644 (file)
@@ -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