git: a066bba2daea - main - ntptime: ansify

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 18:24:44 UTC
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=a066bba2daeafe5e956abedc43ce64594985391c

commit a066bba2daeafe5e956abedc43ce64594985391c
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-02-13 18:24:13 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-02-13 18:24:13 +0000

    ntptime: ansify
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/kern/kern_ntptime.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 6d03413a3113..b632cecdfadb 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -653,8 +653,7 @@ ntp_update_second(int64_t *adjustment, time_t *newsec)
  * is selected by the STA_MODE status bit.
  */
 static void
-hardupdate(offset)
-	long offset;		/* clock offset (ns) */
+hardupdate(long offset /* clock offset (ns) */)
 {
 	long mtemp;
 	l_fp ftemp;