Revision 6f8bbaa1 sysdep/unix/timer.h

View differences:

sysdep/unix/timer.h
34 34
extern bird_clock_t now_real;		/* Time in seconds since fixed known epoch */
35 35
extern bird_clock_t boot_time;
36 36

  
37
static inline int
38
tm_active(timer *t)
39
{
40
  return t->expires != 0;
41
}
42

  
37 43
static inline bird_clock_t
38 44
tm_remains(timer *t)
39 45
{

Also available in: Unified diff