]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ChangeLog, authparity.c, ntp_crypto.c, refclock_ulink.c:
authorHarlan Stenn <stenn@ntp.org>
Thu, 27 Jul 2000 05:34:32 +0000 (05:34 -0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 27 Jul 2000 05:34:32 +0000 (05:34 -0000)
  * ntpd/refclock_ulink.c (ulink_receive):
  * ntpd/ntp_crypto.c:
  * libntp/authparity.c:
  Lint/noise cleanup
  From: Marc Brett <mbrett@rgs0.london.waii.com>

bk: 397fc9e8govaC30En-XH2cPknYgq6A

ChangeLog
libntp/authparity.c
ntpd/ntp_crypto.c
ntpd/refclock_ulink.c

index 3763cb1446c4d7e58cb7efd787162b46f0c26fc4..82dafe1b018dbacdc27b9134cb63966c580d74df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2000-07-27  Harlan Stenn  <stenn@whimsy.udel.edu>
 
+       * ntpd/refclock_ulink.c (ulink_receive): 
+       * ntpd/ntp_crypto.c: 
+       * libntp/authparity.c: 
+       Lint/noise cleanup
+       From: Marc Brett <mbrett@rgs0.london.waii.com>
+
        * ntpd/ntp_proto.c: Specifically track manycastserver and
        survivors
        From: Dave Mills
index 94a487e9421af018ed44cd72da879b5d7b353d2b..ea5eac0a6fbe88b5b1729d741d18d5afb765073b 100644 (file)
@@ -61,4 +61,6 @@ DESauth_parity(
         */
        return (parity_err == 0);
 }
+#else
+int authparity_bs;
 #endif /* DES */
index 8186a54c8729cc48f81f7a4d5806aa3fe04f9541..7109506eb8e45c00f3bb8b3830a254b3ac9f557f 100644 (file)
@@ -1733,5 +1733,9 @@ crypto_config(
                break;
        }
 }
+#else
+int ntp_crypto_bs_pubkey;
 #endif /* PUBKEY */
+#else
+int ntp_crypto_bs_autokey;
 #endif /* AUTOKEY */
index 8a7d68c089d6bb99e7c49dbb1aa4d70a709232c9..01ed238d94756fcaa1f29bfdde397b4cb7405c5b 100644 (file)
@@ -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)