From: Harlan Stenn Date: Thu, 27 Jul 2000 05:34:32 +0000 (-0000) Subject: ChangeLog, authparity.c, ntp_crypto.c, refclock_ulink.c: X-Git-Tag: NTP_4_0_99_M~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb772ee6c8d0fdee23c6563aac20825e6fa0dca;p=thirdparty%2Fntp.git ChangeLog, authparity.c, ntp_crypto.c, refclock_ulink.c: * ntpd/refclock_ulink.c (ulink_receive): * ntpd/ntp_crypto.c: * libntp/authparity.c: Lint/noise cleanup From: Marc Brett bk: 397fc9e8govaC30En-XH2cPknYgq6A --- diff --git a/ChangeLog b/ChangeLog index 3763cb1446..82dafe1b01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2000-07-27 Harlan Stenn + * ntpd/refclock_ulink.c (ulink_receive): + * ntpd/ntp_crypto.c: + * libntp/authparity.c: + Lint/noise cleanup + From: Marc Brett + * ntpd/ntp_proto.c: Specifically track manycastserver and survivors From: Dave Mills diff --git a/libntp/authparity.c b/libntp/authparity.c index 94a487e942..ea5eac0a6f 100644 --- a/libntp/authparity.c +++ b/libntp/authparity.c @@ -61,4 +61,6 @@ DESauth_parity( */ return (parity_err == 0); } +#else +int authparity_bs; #endif /* DES */ diff --git a/ntpd/ntp_crypto.c b/ntpd/ntp_crypto.c index 8186a54c87..7109506eb8 100644 --- a/ntpd/ntp_crypto.c +++ b/ntpd/ntp_crypto.c @@ -1733,5 +1733,9 @@ crypto_config( break; } } +#else +int ntp_crypto_bs_pubkey; #endif /* PUBKEY */ +#else +int ntp_crypto_bs_autokey; #endif /* AUTOKEY */ diff --git a/ntpd/refclock_ulink.c b/ntpd/refclock_ulink.c index 8a7d68c089..01ed238d94 100644 --- a/ntpd/refclock_ulink.c +++ b/ntpd/refclock_ulink.c @@ -205,11 +205,9 @@ ulink_receive( l_fp trtmp; /* arrival timestamp */ int quality; /* quality indicator */ - int tz; /* time zone */ int temp; /* int temp */ char syncchar; /* synchronization indicator */ char leapchar; /* leap indicator */ - char dstchar; /* daylight/standard indicator */ char modechar; /* model 320 mode flag */ /* @@ -247,8 +245,7 @@ ulink_receive( * its contents. If the timecode has invalid length or is not in * proper format, we declare bad format and exit. */ - syncchar = leapchar = dstchar = modechar = ' '; - tz = 0; + syncchar = leapchar = modechar = ' '; pp->msec = 0; switch (pp->lencode ) { @@ -418,12 +415,10 @@ ulink_poll( struct peer *peer ) { - register struct ulinkunit *up; struct refclockproc *pp; char pollchar; pp = peer->procptr; - up = (struct ulinkunit *)pp->unitptr; pollchar = 'T'; if (pp->sloppyclockflag & CLK_FLAG1) { if (write(pp->io.fd, &pollchar, 1) != 1)