summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-07-10 08:32:18 +0000
committerMartin Mares <mj@ucw.cz>1998-07-10 08:32:18 +0000
commit28a9a189d71ef3b05daa21d60277149edb8e98ad (patch)
tree0985fb18885ba0664c68943c847fbc5bd1a96e75 /sysdep
parenta103373f6147f27e4ac71e5903563e57ce52902c (diff)
Replaced remaining references of clock_t by bird_clock_t.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/io.c2
-rw-r--r--sysdep/unix/timer.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c
index 9cab1dc2..4e5dbfd8 100644
--- a/sysdep/unix/io.c
+++ b/sysdep/unix/io.c
@@ -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)
diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h
index 00307f73..ab04aa44 100644
--- a/sysdep/unix/timer.h
+++ b/sysdep/unix/timer.h
@@ -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