+1999-06-22 Harlan Stenn <stenn@whimsy.udel.edu>
+
+ * ntpd/refclock_palisade.c: Patches from Marc Brett
+ * ntpd/refclock_palisade.h: Ditto.
+ * util/hist.c: Ditto.
+
Tue Jun 1 00:40:04 1999 Harlan Stenn <stenn@pogo.udel.edu>
* build: mips-dec-ultrix4.4 hates "set -e"
* Function prototypes
*/
-#if defined PALISADE
static int palisade_start P((int, struct peer *));
static void palisade_shutdown P((int, struct peer *));
static void palisade_receive P((struct peer *));
double getdbl P((u_char *));
short getint P((u_char *));
-#else
-
-static int palisade_start P((int, struct peer *));
-static void palisade_shutdown P((int, struct peer *));
-static void palisade_receive P((struct peer *));
-static void palisade_poll P((int, struct peer *));
-static void palisade_io P((struct recvbuf *));
-int palisade_configure P((int, struct peer *));
-int TSIP_decode P((struct peer *));
-long HW_poll P((struct refclockproc *));
-float getfloat P((u_char *));
-double getdbl P((u_char *));
-short getint P((u_char *));
-#endif
-
#endif /* PALISADE_H */
#include <stdio.h>
#include <stdlib.h>
-/*
#include "ntp_types.h"
-*/
#define NBUF 100001 /* size of basic histogram */
#define NSRT 20000 /* size of overflow histogram */
#define NCNT (600 * 1000000) /* sample interval (us) */
-int col(long *, long *);
+int col P((long *, long *));
int
main(