Replaced remaining references of clock_t by bird_clock_t.

This commit is contained in:
Martin Mares 1998-07-10 08:32:18 +00:00
parent a103373f61
commit 28a9a189d7
2 changed files with 3 additions and 3 deletions

View file

@ -175,7 +175,7 @@ tm_shot(void)
if (first_far_timer <= now) if (first_far_timer <= now)
{ {
clock_t limit = now + NEAR_TIMER_LIMIT; bird_clock_t limit = now + NEAR_TIMER_LIMIT;
first_far_timer = TIME_INFINITY; first_far_timer = TIME_INFINITY;
n = HEAD(far_timers); n = HEAD(far_timers);
while (m = n->next) while (m = n->next)

View file

@ -22,7 +22,7 @@ typedef struct timer {
unsigned randomize; /* Amount of randomization */ unsigned randomize; /* Amount of randomization */
unsigned recurrent; /* Timer recurrence */ unsigned recurrent; /* Timer recurrence */
node n; /* Internal link */ node n; /* Internal link */
clock_t expires; /* 0=inactive */ bird_clock_t expires; /* 0=inactive */
} timer; } timer;
timer *tm_new(pool *); timer *tm_new(pool *);
@ -30,6 +30,6 @@ void tm_start(timer *, unsigned after);
void tm_stop(timer *); void tm_stop(timer *);
void tm_dump_all(void); void tm_dump_all(void);
extern clock_t now; extern bird_clock_t now;
#endif #endif