diff --git a/conf.c b/conf.c index aa2aff5..fdd0751 100644 --- a/conf.c +++ b/conf.c @@ -1403,7 +1403,7 @@ CNF_AllowLocalReference(int *stratum) /* ================================================== */ int -CNF_GetRTCOnUTC(void) +CNF_GetRtcOnUtc(void) { return rtc_on_utc; } @@ -1411,7 +1411,7 @@ CNF_GetRTCOnUTC(void) /* ================================================== */ int -CNF_GetRTCSync(void) +CNF_GetRtcSync(void) { return rtc_sync; } diff --git a/conf.h b/conf.h index 52491f9..4f6d623 100644 --- a/conf.h +++ b/conf.h @@ -60,8 +60,8 @@ extern int CNF_GetGenerateCommandKey(void); extern int CNF_GetDumpOnExit(void); extern int CNF_GetManualEnabled(void); extern int CNF_GetCommandPort(void); -extern int CNF_GetRTCOnUTC(void); -extern int CNF_GetRTCSync(void); +extern int CNF_GetRtcOnUtc(void); +extern int CNF_GetRtcSync(void); extern void CNF_GetMakeStep(int *limit, double *threshold); extern void CNF_GetMaxChange(int *delay, int *ignore, double *offset); extern void CNF_GetLogChange(int *enabled, double *threshold); diff --git a/rtc.c b/rtc.c index 9384afb..2557dd8 100644 --- a/rtc.c +++ b/rtc.c @@ -84,7 +84,7 @@ RTC_Initialise(void) file_name = CNF_GetRtcFile(); if (file_name) { - if (CNF_GetRTCSync()) { + if (CNF_GetRtcSync()) { LOG_FATAL(LOGF_Rtc, "rtcfile directive cannot be used with rtcsync"); } diff --git a/rtc_linux.c b/rtc_linux.c index 4d2ffb3..d3b62f9 100644 --- a/rtc_linux.c +++ b/rtc_linux.c @@ -374,7 +374,7 @@ t_from_rtc(struct tm *stm) { static void setup_config(void) { - if (CNF_GetRTCOnUTC()) { + if (CNF_GetRtcOnUtc()) { rtc_on_utc = 1; } else { rtc_on_utc = 0; diff --git a/sys_linux.c b/sys_linux.c index 80c888e..27c18fc 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -1115,7 +1115,7 @@ SYS_Linux_Initialise(void) have_setoffset = 0; } - TMX_SetSync(CNF_GetRTCSync()); + TMX_SetSync(CNF_GetRtcSync()); /* Read current kernel frequency */ TMX_GetFrequency(&freq, ¤t_tick);