1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Timers: Revert temporary names and remove old timer.h

This commit is contained in:
Ondrej Zajicek (work)
2017-11-28 17:43:20 +01:00
parent 574b232427
commit a6f79ca57f
30 changed files with 195 additions and 261 deletions

View File

@@ -34,7 +34,6 @@
#include "nest/bird.h"
#include "lib/lists.h"
#include "lib/resource.h"
#include "sysdep/unix/timer.h"
#include "lib/socket.h"
#include "lib/event.h"
#include "lib/timer.h"
@@ -2143,7 +2142,7 @@ io_loop(void)
{
int poll_tout, timeout;
int nfds, events, pout;
timer2 *t;
timer *t;
sock *s;
node *n;
int fdmax = 256;
@@ -2162,7 +2161,7 @@ io_loop(void)
if (t = timers_first(&main_timeloop))
{
times_update(&main_timeloop);
timeout = (tm2_remains(t) TO_MS) + 1;
timeout = (tm_remains(t) TO_MS) + 1;
poll_tout = MIN(poll_tout, timeout);
}