From e37c2d0506961e0e394c532b585406d1ab6cac94 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 14 Jan 2005 23:50:22 +0000 Subject: [PATCH] * 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 --- src/include/ChangeLog | 5 +++++ src/include/k5-thread.h | 2 ++ 2 files changed, 7 insertions(+) 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 -- 2.26.2