diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index c954bdc3b0da..bb20a9ee3f5a 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.c @@ -561,7 +561,6 @@ pps_event(struct pps_state *pps, int event) { struct bintime bt; struct timespec ts, *tsp, *osp; - u_int64_t scale; u_int tcount, *pcount; int foff, fhard; pps_seq_t *pseq; @@ -627,6 +626,8 @@ pps_event(struct pps_state *pps, int event) } #ifdef PPS_SYNC if (fhard) { + u_int64_t scale; + /* * Feed the NTP PLL/FLL. * The FLL wants to know how many (hardware) nanoseconds