summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib/tstotv.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/xntpd/lib/tstotv.c')
-rw-r--r--usr.sbin/xntpd/lib/tstotv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/xntpd/lib/tstotv.c b/usr.sbin/xntpd/lib/tstotv.c
index c9b0d1c..be4bdd4 100644
--- a/usr.sbin/xntpd/lib/tstotv.c
+++ b/usr.sbin/xntpd/lib/tstotv.c
@@ -1,4 +1,4 @@
-/* tstotv.c,v 3.1 1993/07/06 01:08:49 jbj Exp
+/*
* tstotv - tables for converting from NTP time stamps to struct timeval
*/
@@ -13,7 +13,7 @@
* These tables are rounded.
*/
-LONG tstoushi[256] = {
+long tstoushi[256] = {
0x000000, 0x007a12, 0x00f424, 0x016e36,
0x01e848, 0x02625a, 0x02dc6c, 0x03567e,
0x03d090, 0x044aa2, 0x04c4b4, 0x053ec6,
@@ -80,7 +80,7 @@ LONG tstoushi[256] = {
0x7829b8, 0x78a3ca, 0x791ddc, 0x7997ee
};
-LONG tstousmid[256] = {
+long tstousmid[256] = {
0x0000, 0x007a, 0x00f4, 0x016e, 0x01e8, 0x0262, 0x02dc, 0x0356,
0x03d1, 0x044b, 0x04c5, 0x053f, 0x05b9, 0x0633, 0x06ad, 0x0727,
0x07a1, 0x081b, 0x0895, 0x090f, 0x0989, 0x0a03, 0x0a7e, 0x0af8,
@@ -115,7 +115,7 @@ LONG tstousmid[256] = {
0x7641, 0x76bc, 0x7736, 0x77b0, 0x782a, 0x78a4, 0x791e, 0x7998
};
-LONG tstouslo[128] = {
+long tstouslo[128] = {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,
0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16,
OpenPOWER on IntegriCloud