diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-05 22:36:49 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-05 22:36:49 +0100 |
commit | fd91ae3325adfdc83f95a284caa746c000ad7e30 (patch) | |
tree | f05f759c9511ffda89fabadf1341a57adc5b542e /sysdep/unix/timer.h | |
parent | 1389f3699fc643dac6fd4d2f19fb59da3624a2fa (diff) | |
download | bird-fd91ae3325adfdc83f95a284caa746c000ad7e30.tar bird-fd91ae3325adfdc83f95a284caa746c000ad7e30.zip |
Fix problem with local time changes.
Diffstat (limited to 'sysdep/unix/timer.h')
-rw-r--r-- | sysdep/unix/timer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h index 608dabb..761cb42 100644 --- a/sysdep/unix/timer.h +++ b/sysdep/unix/timer.h @@ -30,7 +30,8 @@ void tm_start(timer *, unsigned after); void tm_stop(timer *); void tm_dump_all(void); -extern bird_clock_t now; /* Time in seconds since unknown epoch */ +extern bird_clock_t now; /* Relative, monotonic time in seconds */ +extern bird_clock_t now_real; /* Time in seconds since fixed known epoch */ bird_clock_t tm_parse_date(char *); /* Convert date to bird_clock_t */ bird_clock_t tm_parse_datetime(char *); /* Convert date to bird_clock_t */ |