]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make pthread_mutexattr_setkind_np be an alias of__pthread_mutexattr_settype.
authorJulian Seward <jseward@acm.org>
Tue, 30 Apr 2002 10:20:10 +0000 (10:20 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 30 Apr 2002 10:20:10 +0000 (10:20 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@172

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/vg_libpthread.c
vg_libpthread.c

index 171e2836dcf7b9b5a07ac7cb1386e0203a9657d6..4f0bf9912270fa65c0c8a888ddc27fe6515f051c 100644 (file)
@@ -1461,3 +1461,10 @@ void _pthread_cleanup_pop_restore ( void )
    //    char* str = "_pthread_cleanup_pop_restore\n";
    //    write(2, str, strlen(str));
 }
+
+
+/* This doesn't seem to be needed to simulate libpthread.so's external
+   interface, but many people complain about its absence. */
+
+strong_alias(__pthread_mutexattr_settype, __pthread_mutexattr_setkind_np)
+weak_alias(__pthread_mutexattr_setkind_np, pthread_mutexattr_setkind_np)
index 171e2836dcf7b9b5a07ac7cb1386e0203a9657d6..4f0bf9912270fa65c0c8a888ddc27fe6515f051c 100644 (file)
@@ -1461,3 +1461,10 @@ void _pthread_cleanup_pop_restore ( void )
    //    char* str = "_pthread_cleanup_pop_restore\n";
    //    write(2, str, strlen(str));
 }
+
+
+/* This doesn't seem to be needed to simulate libpthread.so's external
+   interface, but many people complain about its absence. */
+
+strong_alias(__pthread_mutexattr_settype, __pthread_mutexattr_setkind_np)
+weak_alias(__pthread_mutexattr_setkind_np, pthread_mutexattr_setkind_np)
index 171e2836dcf7b9b5a07ac7cb1386e0203a9657d6..4f0bf9912270fa65c0c8a888ddc27fe6515f051c 100644 (file)
@@ -1461,3 +1461,10 @@ void _pthread_cleanup_pop_restore ( void )
    //    char* str = "_pthread_cleanup_pop_restore\n";
    //    write(2, str, strlen(str));
 }
+
+
+/* This doesn't seem to be needed to simulate libpthread.so's external
+   interface, but many people complain about its absence. */
+
+strong_alias(__pthread_mutexattr_settype, __pthread_mutexattr_setkind_np)
+weak_alias(__pthread_mutexattr_setkind_np, pthread_mutexattr_setkind_np)