mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 22:45:07 -05:00
Both functions operate on struct tm even though the struct tm is only used as intermediary format from struct rtc_time. In the case of rtc_from_t, the code to convert from struct tm to struct rtc is even duplicated. Let's simplify code a bit by moving the struct translation code into these conversion functions.
27 KiB
27 KiB