bk: 525c41c9EGoCJcKmmZahnzTZ_NOIHg
+* [Bug 2490] Fixed non-const initializer coming from [Bug 2250] fix.
(4.2.7p391) 2013/10/12 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 2250] Rework of leap second handling machine.
* [Bug 2419] [rc-nmea] Improve clockstats reporting when receiver sends
#ifdef KERNEL_PLL
static struct timex ntx;
static u_long ntp_adjtime_time;
- static const double tscale =
+
+ static const double to_ms =
# ifdef STA_NANO
- 1e-9;
+ 1.0e-6; /* nsec to msec */
# else
- 1e-6;
+ 1.0e-3; /* usec to msec */
# endif
- static const double to_ms = 1e3 * tscale;
/*
* CS_K_* variables depend on up-to-date output of ntp_adjtime()