* util/ntp-genkeys.c: config_file should be declared, not defined.
* ntpd/refclock_mx4200.c (mx4200_pps): debug cleanup.
* ntpd/refclock_hopfser.c: If we're not using it, provide the _bs.
* ntpd/refclock_heath.c (heath_receive): Add missing "break"
statements.
* ntpd/ntp_proto.c: Lose extra definition of mode_ntpdate.
* librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Put RSASRCS
on the same line as rsaref.h to improve portability.
* libntp/msyslog.c: Lint cleanup.
From: Marc.Brett@westerngeco.com
bk: 3ae12a0bdgQkMzGNbaFu_3XJaYoWeQ
2001-04-21 Harlan Stenn <stenn@whimsy.udel.edu>
+ * util/ntp-genkeys.c: config_file should be declared, not defined.
+ * ntpd/refclock_mx4200.c (mx4200_pps): debug cleanup.
+ * ntpd/refclock_hopfser.c: If we're not using it, provide the _bs.
+ * ntpd/refclock_heath.c (heath_receive): Add missing "break"
+ statements.
+ * ntpd/ntp_proto.c: Lose extra definition of mode_ntpdate.
+ * librsaref/Makefile.am (nodist_librsaref_a_SOURCES): Put RSASRCS
+ on the same line as rsaref.h to improve portability.
+ * libntp/msyslog.c: Lint cleanup.
+ From: Marc.Brett@westerngeco.com
+
* util/ntp-genkeys.c:
* ntpdate/ntpdate.c:
* ntpd/ntp_config.c: Netinfo header reorder.
register int c;
register char *n, *prog;
register const char *f;
-#ifdef CHAR_SYS_ERRLIST
- extern int sys_nerr;
- extern char *sys_errlist[];
-#endif
int olderrno;
char *err;
prime.h \
r_random.h \
rsa.h \
- rsaref.h \
- @RSASRCS@
+ rsaref.h @RSASRCS@
librsaref_a_LIBADD = @RSAOBJS@
librsaref_a_DEPENDENCIES = $(librsaref_a_LIBADD)
prime.h \
r_random.h \
rsa.h \
- rsaref.h \
- @RSASRCS@
+ rsaref.h @RSASRCS@
librsaref_a_LIBADD = @RSAOBJS@
keyid_t sys_private; /* private value for session seed */
int sys_manycastserver; /* respond to manycast client pkts */
u_int sys_survivors; /* truest of the truechimers */
-int mode_ntpdate; /* simulate ntpdate */
int peer_ntpdate; /* active peers in ntpdate mode */
#ifdef AUTOKEY
char *sys_hostname; /* gethostname() name */
refclock_report(peer, CEVNT_BADREPLY);
return;
}
+ break;
/*
* GC-1000 II timecode format: "hh:mm:ss.f "
refclock_report(peer, CEVNT_BADREPLY);
return;
}
+ break;
default:
refclock_report(peer, CEVNT_BADREPLY);
return;
}
+#else
+int refclock_hopfser_bs;
#endif /* REFCLOCK */
if (time_pps_fetch(up->pps_h, PPS_TSFMT_TSPEC, &(up->pps_i),
&timeout) < 0) {
mx4200_debug(peer,
- "mx4200_pps: time_pps_fetch: serial=%d, handle=%d, %s\n",
- up->pps_i.assert_sequence, up->pps_h, strerror(errno));
+ "mx4200_pps: time_pps_fetch: serial=%d, %s\n",
+ up->pps_i.assert_sequence, strerror(errno));
refclock_report(peer, CEVNT_FAULT);
return(1);
}
*/
-char *config_file;
+extern char *config_file;
#ifdef HAVE_NETINFO
struct netinfo_config_state *config_netinfo = NULL;
#endif /* PUBKEY */
struct timeval tv; /* initialization vector */
u_long ntptime; /* NTP timestamp */
- u_char hostname[256]; /* DNS host name */
+ char hostname[256]; /* DNS host name */
u_char md5key[17]; /* generated MD5 key */
FILE *str; /* file handle */
u_int temp;