Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2017 20:22:32 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312775 - head/sys/kern
Message-ID:  <201701252022.v0PKMWPt093714@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701252022.v0PKMWPt093714>