From d489574156ff01b0a8ff362c14eb12d9a8642d1f Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Thu, 14 Apr 2005 03:09:46 +0000 Subject: [PATCH] kill-clock-advance-20050413 FIXES 18228 we don't use clock_Advance, so it's gone --- src/rx/rx_clock.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/rx/rx_clock.h b/src/rx/rx_clock.h index 0668c1418d..01d1c54ed1 100644 --- a/src/rx/rx_clock.h +++ b/src/rx/rx_clock.h @@ -110,13 +110,6 @@ extern int clock_nUpdates; #define clock_ElapsedTime(cv1, cv2) \ (((cv2)->sec - (cv1)->sec)*1000 + ((cv2)->usec - (cv1)->usec)/1000) -#ifdef AFS_PTHREAD_ENV -#define clock_Advance(cv) -#else -/* Advance the known value of the current clock time (clock_now) by the specified clock value */ -#define clock_Advance(cv) clock_Add(&clock_now, cv) -#endif /* AFS_PTHREAD_ENV */ - /* Some comparison operators for clock values */ #define clock_Gt(a, b) ((a)->sec>(b)->sec || ((a)->sec==(b)->sec && (a)->usec>(b)->usec)) #define clock_Ge(a, b) ((a)->sec>(b)->sec || ((a)->sec==(b)->sec && (a)->usec>=(b)->usec))