ANSIfy kern_ntptime.c

This commit is contained in:
Ed Maste 2017-01-25 20:22:32 +00:00
parent 2d0e733b3a
commit f27ac8e297
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312775

View File

@ -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;