* threads.c (krb5int_mutex_lock_update_stats,
authorKen Raeburn <raeburn@mit.edu>
Wed, 5 Jan 2005 00:50:54 +0000 (00:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 5 Jan 2005 00:50:54 +0000 (00:50 +0000)
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
src/util/support/threads.c

index 7e6c91272c697a3d6714637bbea1f679282716da..05a9df9364fd046d1eda957f266145b7a8ffacf4 100644 (file)
@@ -1,3 +1,10 @@
+2005-01-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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 <jaltman@mit.edu>
 
         * Makefile.in: rename krb5support_32.dll to k5sprt32.dll
index c78751bd089f70d9f69654ab0d21defe4d8432be..67b7e07c54a477de33d3a629e3fce396fff8d43f 100644 (file)
@@ -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