mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-21 05:10:19 -05:00
rtc: restore time from driftfile if later than RTC time
This is useful on computers that have an RTC, but there is no battery to keep the time when they are turned off and start with the same time on each boot.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
extern int RTC_Linux_Initialise(void);
|
||||
extern void RTC_Linux_Finalise(void);
|
||||
extern int RTC_Linux_TimePreInit(void);
|
||||
extern int RTC_Linux_TimePreInit(time_t driftile_time);
|
||||
extern void RTC_Linux_TimeInit(void (*after_hook)(void *), void *anything);
|
||||
extern void RTC_Linux_StartMeasurements(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user