From 2850d3acf758085c060b04b9e5e70f9caa47c5b4 Mon Sep 17 00:00:00 2001 From: emaste Date: Wed, 25 Jan 2017 20:22:32 +0000 Subject: [PATCH] ANSIfy kern_ntptime.c --- sys/kern/kern_ntptime.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index efc37133ed0..ce0192e22bd 100644 --- a/sys/kern/kern_ntptime.c +++ b/sys/kern/kern_ntptime.c @@ -750,11 +750,12 @@ hardupdate(offset) * Therefore, the variables used are distinct from the hardclock() * variables, except for the actual time and frequency variables, which * are determined by this routine and updated atomically. + * + * tsp - time at PPS + * nsec - hardware counter at PPS */ void -hardpps(tsp, nsec) - struct timespec *tsp; /* time at PPS */ - long nsec; /* hardware counter at PPS */ +hardpps(struct timespec *tsp, long nsec) { long u_sec, u_nsec, v_nsec; /* temps */ l_fp ftemp; -- 2.45.0