OSDN Git Service

* config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
[pf3gnuchains/gcc-fork.git] / gcc / gthr-dce.h
index ccdf82d..6a3d906 100644 (file)
@@ -1,6 +1,6 @@
 /* Threads compatibility routines for libgcc2 and libobjc.  */
 /* Compile this one with gcc.  */
-/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -74,6 +74,9 @@ 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_create
+#pragma weak pthread_mutexattr_setkind_np
+#pragma weak pthread_mutexattr_delete
 
 #ifdef _LIBOBJC
 /* Objective-C.  */
@@ -121,7 +124,7 @@ static inline int
 __gthread_objc_init_thread_system (void)
 {
   if (__gthread_active_p ())
-    /* Initialize the thread storage key */
+    /* Initialize the thread storage key */
     return pthread_keycreate (&_objc_thread_storage, NULL);
   else
     return -1;