From: Ken Raeburn Date: Wed, 5 Jan 2005 00:50:54 +0000 (+0000) Subject: * threads.c (krb5int_mutex_lock_update_stats, X-Git-Tag: ms-bug-test-20060525~404 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c2bdaa4f32efe2f1d5fff93047703fefb6cf0dcd;p=krb5.git * 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 --- 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