]> git.ipfire.org Git - thirdparty/chrony.git/commit
rtc: factor out RTC_Linux_ReadTimeAfterInterrupt
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Wed, 17 Jul 2024 11:00:39 +0000 (13:00 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 4 Dec 2024 13:54:04 +0000 (14:54 +0100)
commit924199ef69fce4c343e2cce88fc04e68ba83f019
treeeabdeb47d7aa1c5189aa8f01e57545a0a76636e1
parent8028984f34963898b59617c1e46a3ef02f2c78ea
rtc: factor out RTC_Linux_ReadTimeAfterInterrupt

We have code to read time after an RTC's UIE interrupt, which we
currently use as part of maintaining the correction file.

In a later commit, we will need the same functionality for using the RTC
as reference clock, so export the function and give it a descriptive
name appropriate for a globally visible function.
rtc_linux.c
rtc_linux.h