From a6f79ca57f0b4b296f67c2d063fd85a627b611b8 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Tue, 28 Nov 2017 17:43:20 +0100 Subject: Timers: Revert temporary names and remove old timer.h --- proto/bfd/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/bfd/io.c') diff --git a/proto/bfd/io.c b/proto/bfd/io.c index ab846113..b01cbfce 100644 --- a/proto/bfd/io.c +++ b/proto/bfd/io.c @@ -477,7 +477,7 @@ static void * birdloop_main(void *arg) { struct birdloop *loop = arg; - timer2 *t; + timer *t; int rv, timeout; birdloop_set_current(loop); @@ -492,7 +492,7 @@ birdloop_main(void *arg) if (events_waiting(loop)) timeout = 0; else if (t = timers_first(&loop->time)) - timeout = (tm2_remains(t) TO_MS) + 1; + timeout = (tm_remains(t) TO_MS) + 1; else timeout = -1; -- cgit v1.2.3