Deleted Added
full compact
ntp_proto.c (54360) ntp_proto.c (54363)
1/*
2 * ntp_proto.c - NTP version 4 protocol machinery
1/*
2 * ntp_proto.c - NTP version 4 protocol machinery
3 *
4 * $FreeBSD: head/contrib/ntp/ntpd/ntp_proto.c 54363 1999-12-09 13:17:01Z roberto $
3 */
4#ifdef HAVE_CONFIG_H
5#include <config.h>
6#endif
7
8#include <stdio.h>
9#include <sys/types.h>
10#include <sys/time.h>

--- 1909 unchanged lines hidden (view full) ---

1920 long diff;
1921 long val;
1922 long usec;
1923#ifdef HAVE_GETCLOCK
1924 struct timespec ts;
1925#endif
1926#if defined(__FreeBSD__) && __FreeBSD__ >= 3
1927 u_long freq;
5 */
6#ifdef HAVE_CONFIG_H
7#include <config.h>
8#endif
9
10#include <stdio.h>
11#include <sys/types.h>
12#include <sys/time.h>

--- 1909 unchanged lines hidden (view full) ---

1922 long diff;
1923 long val;
1924 long usec;
1925#ifdef HAVE_GETCLOCK
1926 struct timespec ts;
1927#endif
1928#if defined(__FreeBSD__) && __FreeBSD__ >= 3
1929 u_long freq;
1928 int j;
1930 size_t j;
1929
1930 /* Try to see if we can find the frequency of of the counter
1931 * which drives our timekeeping
1932 */
1933 j = sizeof freq;
1934 i = sysctlbyname("kern.timecounter.frequency",
1935 &freq, &j , 0, 0);
1936 if (i)

--- 229 unchanged lines hidden ---
1931
1932 /* Try to see if we can find the frequency of of the counter
1933 * which drives our timekeeping
1934 */
1935 j = sizeof freq;
1936 i = sysctlbyname("kern.timecounter.frequency",
1937 &freq, &j , 0, 0);
1938 if (i)

--- 229 unchanged lines hidden ---