svn commit: r312775 - head/sys/kern
Ed Maste
emaste at FreeBSD.org
Wed Jan 25 20:22:33 UTC 2017
Author: emaste
Date: Wed Jan 25 20:22:32 2017
New Revision: 312775
URL: https://svnweb.freebsd.org/changeset/base/312775
Log:
ANSIfy kern_ntptime.c
Modified:
head/sys/kern/kern_ntptime.c
Modified: head/sys/kern/kern_ntptime.c
==============================================================================
--- head/sys/kern/kern_ntptime.c Wed Jan 25 20:19:48 2017 (r312774)
+++ head/sys/kern/kern_ntptime.c Wed Jan 25 20:22:32 2017 (r312775)
@@ -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;
More information about the svn-src-all
mailing list