Fix up weak binding for pthread_mutexattr_setpshared.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1726 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 098c7f7..fdcb1d1 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -906,7 +906,7 @@
    return 0;
 }
 
-int pthread_mutexattr_setpshared ( pthread_mutexattr_t* attr, int pshared)
+int __pthread_mutexattr_setpshared ( pthread_mutexattr_t* attr, int pshared)
 {
   if (pshared != PTHREAD_PROCESS_PRIVATE && pshared != PTHREAD_PROCESS_SHARED)
     return EINVAL;
@@ -3009,6 +3009,7 @@
 strong_alias(__pthread_mutex_unlock, pthread_mutex_unlock)
 strong_alias(__pthread_mutexattr_init, pthread_mutexattr_init)
   weak_alias(__pthread_mutexattr_settype, pthread_mutexattr_settype)
+  weak_alias(__pthread_mutexattr_setpshared, pthread_mutexattr_setpshared)
 strong_alias(__pthread_mutex_init, pthread_mutex_init)
 strong_alias(__pthread_mutexattr_destroy, pthread_mutexattr_destroy)
 strong_alias(__pthread_mutex_destroy, pthread_mutex_destroy)