kill-clock-advance-20050413
authorChas Williams <chas@cmf.nrl.navy.mil>
Thu, 14 Apr 2005 03:09:46 +0000 (03:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 14 Apr 2005 03:09:46 +0000 (03:09 +0000)
FIXES 18228

we don't use clock_Advance, so it's gone

src/rx/rx_clock.h

index 0668c14..01d1c54 100644 (file)
@@ -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))