From c2bdaa4f32efe2f1d5fff93047703fefb6cf0dcd Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 5 Jan 2005 00:50:54 +0000 Subject: [PATCH] * threads.c (krb5int_mutex_lock_update_stats, krb5int_mutex_unlock_update_stats, krb5int_mutex_report_stats) [_WIN32 && !DEBUG_THREADS_STATS]: Define empty versions for Windows. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16997 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/support/ChangeLog | 7 +++++++ src/util/support/threads.c | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog index 7e6c91272..05a9df936 100644 --- a/src/util/support/ChangeLog +++ b/src/util/support/ChangeLog @@ -1,3 +1,10 @@ +2005-01-04 Ken Raeburn + + * threads.c (krb5int_mutex_lock_update_stats, + krb5int_mutex_unlock_update_stats, krb5int_mutex_report_stats) + [_WIN32 && !DEBUG_THREADS_STATS]: Define empty versions for + Windows. + 2004-12-15 Jeffrey Altman * Makefile.in: rename krb5support_32.dll to k5sprt32.dll diff --git a/src/util/support/threads.c b/src/util/support/threads.c index c78751bd0..67b7e07c5 100644 --- a/src/util/support/threads.c +++ b/src/util/support/threads.c @@ -495,4 +495,21 @@ krb5int_mutex_report_stats(k5_mutex_t *m) sd_hold); } } +#elif defined _WIN32 +/* On Windows, everything defined in the export list must be defined. + The UNIX systems where we're using the export list don't seem to + care. */ +void +krb5int_mutex_lock_update_stats(k5_debug_mutex_stats *m, + k5_mutex_stats_tmp startwait) +{ +} +void +krb5int_mutex_unlock_update_stats(k5_debug_mutex_stats *m) +{ +} +void +krb5int_mutex_report_stats(k5_mutex_t *m) +{ +} #endif -- 2.26.2