diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-11-28 17:43:20 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-07 13:54:59 +0100 |
commit | a6f79ca57f0b4b296f67c2d063fd85a627b611b8 (patch) | |
tree | e8164505077da6b3039d598b6b22b6a893dfccd6 /proto/bfd/io.c | |
parent | 574b2324275d3292e98a8e329f791eb5c799f7f2 (diff) |
Timers: Revert temporary names and remove old timer.h
Diffstat (limited to 'proto/bfd/io.c')
-rw-r--r-- | proto/bfd/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |