summaryrefslogtreecommitdiff
path: root/sysdep/unix/timer.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-11-05 22:36:49 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-11-05 22:36:49 +0100
commitfd91ae3325adfdc83f95a284caa746c000ad7e30 (patch)
treef05f759c9511ffda89fabadf1341a57adc5b542e /sysdep/unix/timer.h
parent1389f3699fc643dac6fd4d2f19fb59da3624a2fa (diff)
Fix problem with local time changes.
Diffstat (limited to 'sysdep/unix/timer.h')
-rw-r--r--sysdep/unix/timer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h
index 608dabb8..761cb42b 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 */