From 574b2324275d3292e98a8e329f791eb5c799f7f2 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 28 Nov 2017 17:06:10 +0100 Subject: Timers: Fix TBF and some last remains --- sysdep/unix/timer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdep/unix/timer.h') diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h index 495d10c7..989574bf 100644 --- a/sysdep/unix/timer.h +++ b/sysdep/unix/timer.h @@ -16,7 +16,7 @@ typedef struct timer2 timer; - +#if 0 static inline timer *tm_new(pool *p) { return (void *) tm2_new(p); } @@ -44,8 +44,8 @@ static inline void tm_start_max(timer *t, bird_clock_t after) static inline timer * tm_new_set(pool *p, void (*hook)(timer *), void *data, uint rand, uint rec) { return tm2_new_init(p, hook, data, rec S_, rand S_); } +#endif -#define TIME_INFINITY ((s64) 0x7fffffffffffffff) #endif -- cgit v1.2.3