[PATCH 04/10] ntptime: ansify

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Mar 7 06:32:14 UTC 2023


From: Mateusz Guzik <mjg at FreeBSD.org>

Sponsored by:	Rubicon Communications, LLC ("Netgate")
---
 cpukit/score/src/kern_ntptime.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c
index 0d982e397b..44d56cf59e 100644
--- a/cpukit/score/src/kern_ntptime.c
+++ b/cpukit/score/src/kern_ntptime.c
@@ -782,8 +782,7 @@ RTEMS_SYSINIT_ITEM(_NTP_Initialize, RTEMS_SYSINIT_DEVICE_DRIVERS,
  * 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;
-- 
2.35.3



More information about the devel mailing list