summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2004-07-11 07:00:03 +0000
committerKen Raeburn <raeburn@mit.edu>2004-07-11 07:00:03 +0000
commit3519e13c9418e5e5aa57aa75c613200309017552 (patch)
tree8680c4e657df9f8a83e727e104e2d9235517007f /src/include
parentb319923f595c847124047b08fb259f94c374aff3 (diff)
downloadkrb5-3519e13c9418e5e5aa57aa75c613200309017552.tar.gz
krb5-3519e13c9418e5e5aa57aa75c613200309017552.tar.xz
krb5-3519e13c9418e5e5aa57aa75c613200309017552.zip
* k5-thread.h (k5_os_mutex_lock, k5_os_mutex_unlock, k5_os_mutex_assert_locked,
k5_os_mutex_assert_unlocked) [USE_PTHREAD_LOCK_ONLY_IF_LOADED]: Fix typo in accessing non-pthread versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16580 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog5
-rw-r--r--src/include/k5-thread.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 7bde94f66..197468696 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,5 +1,10 @@
2004-07-11 Ken Raeburn <raeburn@mit.edu>
+ * k5-thread.h (k5_os_mutex_lock, k5_os_mutex_unlock,
+ k5_os_mutex_assert_locked, k5_os_mutex_assert_unlocked)
+ [USE_PTHREAD_LOCK_ONLY_IF_LOADED]: Fix typo in accessing
+ non-pthread versions.
+
* configure.in: Check krb5_cv_inet6_with_dinet6 as well as
krb5_cv_inet6 when deciding whether to test for in6addr_any. If
gcc is in use, suppress pedantic warnings about "inline".
diff --git a/src/include/k5-thread.h b/src/include/k5-thread.h
index 941073128..4d1a6fca5 100644
--- a/src/include/k5-thread.h
+++ b/src/include/k5-thread.h
@@ -426,20 +426,20 @@ typedef struct {
# define k5_os_mutex_lock(M) \
(K5_PTHREADS_LOADED \
? pthread_mutex_lock(&(M)->p) \
- : k5_os_nothread_lock(&(M)->n))
+ : k5_os_nothread_mutex_lock(&(M)->n))
# define k5_os_mutex_unlock(M) \
(K5_PTHREADS_LOADED \
? pthread_mutex_unlock(&(M)->p) \
- : k5_os_nothread_unlock(&(M)->n))
+ : k5_os_nothread_mutex_unlock(&(M)->n))
# define k5_os_mutex_assert_unlocked(M) \
(K5_PTHREADS_LOADED \
? k5_pthread_assert_unlocked(&(M)->p) \
- : k5_os_nothread_assert_unlocked(&(M)->n))
+ : k5_os_nothread_mutex_assert_unlocked(&(M)->n))
# define k5_os_mutex_assert_locked(M) \
(K5_PTHREADS_LOADED \
? k5_pthread_assert_locked(&(M)->p) \
- : k5_os_nothread_assert_locked(&(M)->n))
+ : k5_os_nothread_mutex_assert_locked(&(M)->n))
#else