summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/authstuff/authspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/authstuff/authspeed.c')
-rw-r--r--usr.sbin/xntpd/authstuff/authspeed.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/xntpd/authstuff/authspeed.c b/usr.sbin/xntpd/authstuff/authspeed.c
index ecddbcd..a6362a8 100644
--- a/usr.sbin/xntpd/authstuff/authspeed.c
+++ b/usr.sbin/xntpd/authstuff/authspeed.c
@@ -1,5 +1,5 @@
-/* authspeed.c,v 3.1 1993/07/06 01:04:54 jbj Exp
- * authspeed - figure out how LONG it takes to do an NTP encryption
+/*
+ * authspeed - figure out how long it takes to do an NTP encryption
*/
#if defined(SYS_HPUX) || defined(SYS_AUX3) || defined(SYS_AUX2) || defined(SOLARIS) || defined(SYS_SVR4) || defined(SYS_PTX) || defined(SYS_UNIXWARE1)
@@ -38,7 +38,7 @@ struct rusage rstart, rend;
#endif
l_fp dummy1, dummy2;
-U_LONG dummy3;
+u_long dummy3;
U_LONG pkt[15];
@@ -299,8 +299,8 @@ subtime(tvs, tve, res)
struct timeval *tvs, *tve;
double *res;
{
- LONG sec;
- LONG usec;
+ long sec;
+ long usec;
sec = tve->tv_sec - tvs->tv_sec;
usec = tve->tv_usec - tvs->tv_usec;
OpenPOWER on IntegriCloud