pps_shiftmax only exists #ifdef PPS_SYNC

Found by:	Roger Hardiman <roger@cs.strath.ac.uk>
This commit is contained in:
Poul-Henning Kamp 1999-08-30 16:21:32 +00:00
parent 9be376cc32
commit 5968e18b69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50663

View File

@ -241,7 +241,9 @@ SYSCTL_NODE(_kern, OID_AUTO, ntp_pll, CTLFLAG_RW, 0, "");
SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD, SYSCTL_PROC(_kern_ntp_pll, OID_AUTO, gettime, CTLTYPE_OPAQUE|CTLFLAG_RD,
0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", ""); 0, sizeof(struct ntptimeval) , ntp_sysctl, "S,ntptimeval", "");
#ifdef PPS_SYNC
SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, ""); SYSCTL_INT(_kern_ntp_pll, OID_AUTO, pps_shiftmax, CTLFLAG_RW, &pps_shiftmax, 0, "");
#endif
/* /*
* ntp_adjtime() - NTP daemon application interface * ntp_adjtime() - NTP daemon application interface
* *