]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Replaced remaining references of clock_t by bird_clock_t.
authorMartin Mares <mj@ucw.cz>
Fri, 10 Jul 1998 08:32:18 +0000 (08:32 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 10 Jul 1998 08:32:18 +0000 (08:32 +0000)
sysdep/unix/io.c
sysdep/unix/timer.h

index 9cab1dc213253d73b9eb18989e8ea4f420acdf51..4e5dbfd85c87c127fc6f93f15d4ffad4ab501199 100644 (file)
@@ -175,7 +175,7 @@ tm_shot(void)
 
   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;
       n = HEAD(far_timers);
       while (m = n->next)
index 00307f73db08744cbb155098518646c827a6bf8b..ab04aa447904bbdef4e003b33469a5e9701f87a2 100644 (file)
@@ -22,7 +22,7 @@ typedef struct timer {
   unsigned randomize;                  /* Amount of randomization */
   unsigned recurrent;                  /* Timer recurrence */
   node n;                              /* Internal link */
-  clock_t expires;                     /* 0=inactive */
+  bird_clock_t expires;                        /* 0=inactive */
 } timer;
 
 timer *tm_new(pool *);
@@ -30,6 +30,6 @@ void tm_start(timer *, unsigned after);
 void tm_stop(timer *);
 void tm_dump_all(void);
 
-extern clock_t now;
+extern bird_clock_t now;
 
 #endif