Author: marcus (doc,ports committer)
Date: Sun Oct  4 21:50:29 2009
New Revision: 197760
URL: http://svn.freebsd.org/changeset/base/197760

Log:
  MFC: rev. 197681
  
  Correct the pthread stub prototype for pthread_mutexattr_settype to allow for
  the type argument.  This is known to fix some pthread_mutexattr_settype()
  invocations, especially when it comes to pulseaudio.
  
  Approved by:  kib

Modified:
  stable/6/lib/libc/gen/_pthread_stubs.c

Modified: stable/6/lib/libc/gen/_pthread_stubs.c
==============================================================================
--- stable/6/lib/libc/gen/_pthread_stubs.c      Sun Oct  4 21:48:17 2009        
(r197759)
+++ stable/6/lib/libc/gen/_pthread_stubs.c      Sun Oct  4 21:50:29 2009        
(r197760)
@@ -188,7 +188,7 @@ STUB_FUNC1(pthread_mutex_trylock, PJT_MU
 STUB_FUNC1(pthread_mutex_unlock, PJT_MUTEX_UNLOCK, int, void *)
 STUB_FUNC1(pthread_mutexattr_destroy, PJT_MUTEXATTR_DESTROY, int, void *)
 STUB_FUNC1(pthread_mutexattr_init, PJT_MUTEXATTR_INIT, int, void *)
-STUB_FUNC1(pthread_mutexattr_settype, PJT_MUTEXATTR_SETTYPE, int, void *)
+STUB_FUNC2(pthread_mutexattr_settype, PJT_MUTEXATTR_SETTYPE, int, void *, int)
 STUB_FUNC2(pthread_once,       PJT_ONCE, int, void *, void *)
 STUB_FUNC1(pthread_rwlock_destroy, PJT_RWLOCK_DESTROY, int, void *)
 STUB_FUNC2(pthread_rwlock_init,        PJT_RWLOCK_INIT, int, void *, void *)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to