[rtems commit] ntptime: ansify
Sebastian Huber
sebh at rtems.org
Thu Mar 9 06:54:14 UTC 2023
Module: rtems
Branch: master
Commit: bb06cdab42c1b856ec0181d9d8f80d4b5ec84fe6
Changeset: http://git.rtems.org/rtems/commit/?id=bb06cdab42c1b856ec0181d9d8f80d4b5ec84fe6
Author: Mateusz Guzik <mjg at FreeBSD.org>
Date: Mon Feb 13 18:24:13 2023 +0000
ntptime: ansify
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;
More information about the vc
mailing list