diff options
Diffstat (limited to 'include/rtc_.h')
-rw-r--r-- | include/rtc_.h | 6 |
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 | ||
12 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | 12 | PUSH_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 | |||
14 | int rtc_adjtime_is_utc(void) FAST_FUNC; | 20 | int rtc_adjtime_is_utc(void) FAST_FUNC; |
15 | int rtc_xopen(const char **default_rtc, int flags) FAST_FUNC; | 21 | int rtc_xopen(const char **default_rtc, int flags) FAST_FUNC; |
16 | void rtc_read_tm(struct tm *ptm, int fd) FAST_FUNC; | 22 | void rtc_read_tm(struct tm *ptm, int fd) FAST_FUNC; |