aboutsummaryrefslogtreecommitdiff
path: root/include/rtc_.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rtc_.h')
-rw-r--r--include/rtc_.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rtc_.h b/include/rtc_.h
index 750fc20ec..24ff5363f 100644
--- a/include/rtc_.h
+++ b/include/rtc_.h
@@ -11,6 +11,12 @@
11 11
12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN 12PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
13 13
14#if ENABLE_FEATURE_HWCLOCK_ADJTIME_FHS
15# define ADJTIME_PATH "/var/lib/hwclock/adjtime"
16#else
17# define ADJTIME_PATH "/etc/adjtime"
18#endif
19
14int rtc_adjtime_is_utc(void) FAST_FUNC; 20int rtc_adjtime_is_utc(void) FAST_FUNC;
15int rtc_xopen(const char **default_rtc, int flags) FAST_FUNC; 21int rtc_xopen(const char **default_rtc, int flags) FAST_FUNC;
16void rtc_read_tm(struct tm *ptm, int fd) FAST_FUNC; 22void rtc_read_tm(struct tm *ptm, int fd) FAST_FUNC;