From fd91ae3325adfdc83f95a284caa746c000ad7e30 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 5 Nov 2008 22:36:49 +0100 Subject: Fix problem with local time changes. --- sysdep/unix/timer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdep/unix/timer.h') 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 */ -- cgit v1.2.3