ANSIfy kern_ntptime.c
This commit is contained in:
parent
113c297465
commit
2850d3acf7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user