[Git][NTPsec/ntpsec][master] Resolve Issue #34: osx: build warnings with lockclock

Eric S. Raymond gitlab at mg.gitlab.com
Tue Oct 4 17:52:03 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
7a377238 by Eric S. Raymond at 2016-10-04T13:51:16-04:00
Resolve Issue #34: osx: build warnings with lockclock

- - - - -


1 changed file:

- ntpd/ntp_loopfilter.c


Changes:

=====================================
ntpd/ntp_loopfilter.c
=====================================
--- a/ntpd/ntp_loopfilter.c
+++ b/ntpd/ntp_loopfilter.c
@@ -1214,7 +1214,7 @@ select_loop(
 	 * call set_freq() to switch the frequency compensation to or
 	 * from the kernel loop.
 	 */
-#ifdef HAVE_KERNEL_PLL
+#if defined(HAVE_KERNEL_PLL) && !defined(ENABLE_LOCKCLOCK)
 	if (pll_control && loop_started)
 		set_freq(drift_comp);
 #endif



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/7a3772389697a77c1add25c0eabcd87163192090
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161004/5150b3dd/attachment.html>


More information about the vc mailing list