From: Ken Raeburn Date: Fri, 14 Jan 2005 23:50:22 +0000 (+0000) Subject: * k5-thread.h [HAVE_PTHREAD && HAVE_PRAGMA_WEAK_REF]: Mark pthread_self and X-Git-Tag: ms-bug-test-20060525~372 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e37c2d0506961e0e394c532b585406d1ab6cac94;p=krb5.git * k5-thread.h [HAVE_PTHREAD && HAVE_PRAGMA_WEAK_REF]: Mark pthread_self and pthread_equal as weak references. ticket: 2878 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17041 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 0c2ba2c8a..6227a7e92 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2005-01-14 Ken Raeburn + + * k5-thread.h [HAVE_PTHREAD && HAVE_PRAGMA_WEAK_REF]: Mark + pthread_self and pthread_equal as weak references. + 2005-01-13 Ken Raeburn * k5-thread.h (k5_os_mutex) [pthread case]: Add new field "owner" diff --git a/src/include/k5-thread.h b/src/include/k5-thread.h index 88a14caab..606030749 100644 --- a/src/include/k5-thread.h +++ b/src/include/k5-thread.h @@ -405,6 +405,8 @@ typedef k5_os_nothread_mutex k5_os_mutex; # pragma weak pthread_mutex_unlock # pragma weak pthread_mutex_destroy # pragma weak pthread_mutex_init +# pragma weak pthread_self +# pragma weak pthread_equal # ifdef HAVE_PTHREAD_MUTEXATTR_SETROBUST_NP_IN_THREAD_LIB # pragma weak pthread_mutexattr_setrobust_np # endif