summaryrefslogtreecommitdiff
path: root/lib/birdlib.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-06-01 12:33:20 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-07 13:49:27 +0100
commit025525266f6861437ca54aca2a86eb505a486baf (patch)
tree8a4f2035ef7edbcd77224ed76598ec0806f24512 /lib/birdlib.h
parent28a7d3943ef915c405b3552ae06f639a86f4dc1e (diff)
Timers: Replace old timers with microsecond timers
The old timer interface is still kept, but implemented by new timers. The plan is to switch from the old inteface to the new interface, then clean it up.
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r--lib/birdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index 317b5202..a0826aab 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -9,7 +9,6 @@
#ifndef _BIRD_BIRDLIB_H_
#define _BIRD_BIRDLIB_H_
-#include "sysdep/unix/timer.h"
#include "lib/alloca.h"
/* Ugly structure offset handling macros */
@@ -70,6 +69,7 @@ static inline int u64_cmp(u64 i1, u64 i2)
/* Microsecond time */
typedef s64 btime;
+typedef s64 bird_clock_t;
#define S_ *1000000
#define MS_ *1000