Adjust the Makefile for the new clocks and make this compile cleanly

This commit is contained in:
christos 1997-06-23 17:31:38 +00:00
parent 30bc5bd182
commit 085df7da2f
3 changed files with 15 additions and 12 deletions

View File

@ -1,14 +1,15 @@
# $NetBSD: Makefile,v 1.1.1.1 1997/04/18 13:29:14 christos Exp $
# $NetBSD: Makefile,v 1.2 1997/06/23 17:31:38 christos Exp $
PROG= xntpd
SRCS= map_vme.c ntp_config.c ntp_control.c ntp_filegen.c ntp_intres.c ntp_io.c \
ntp_leap.c ntp_loopfilter.c ntp_monitor.c ntp_peer.c ntp_proto.c ntp_refclock.c \
ntp_request.c ntp_restrict.c ntp_timer.c ntp_unixclock.c ntp_util.c ntpd.c \
refclock_acts.c refclock_arbiter.c refclock_as2201.c refclock_atom.c refclock_bancomm.c refclock_chu.c \
refclock_conf.c refclock_datum.c refclock_gpsvme.c refclock_heath.c refclock_hpgps.c refclock_irig.c \
refclock_leitch.c refclock_local.c refclock_msfees.c refclock_mx4200.c refclock_nmea.c refclock_parse.c \
refclock_pst.c refclock_ptbacts.c refclock_tpro.c refclock_trak.c refclock_true.c refclock_usno.c \
refclock_wwvb.c
SRCS= clk_trimtsip.c clk_trimtaip.c clk_schmid.c clk_rcc8000.c clk_rawdcf.c clk_meinberg.c \
clk_hopf6021.c clk_dcf7000.c clk_computime.c parse_conf.c parse.c refclock_wwvb.c \
refclock_usno.c refclock_true.c refclock_trak.c refclock_tpro.c refclock_ptbacts.c refclock_pst.c \
refclock_parse.c refclock_nmea.c refclock_mx4200.c refclock_msfees.c refclock_local.c refclock_leitch.c \
refclock_irig.c refclock_hpgps.c refclock_heath.c refclock_gpsvme.c refclock_datum.c refclock_conf.c \
refclock_chu.c refclock_bancomm.c refclock_atom.c refclock_as2201.c refclock_arbiter.c refclock_acts.c \
ntpd.c ntp_util.c ntp_unixclock.c ntp_timer.c ntp_restrict.c ntp_request.c \
ntp_refclock.c ntp_proto.c ntp_peer.c ntp_monitor.c ntp_loopfilter.c ntp_leap.c \
ntp_io.c ntp_intres.c ntp_filegen.c ntp_control.c ntp_config.c map_vme.c
MAN+= xntpd.8
.include <bsd.prog.mk>

View File

@ -113,9 +113,9 @@ static int sigio_block_count = 0;
volatile u_long full_recvbufs; /* number of recvbufs on fulllist */
volatile u_long free_recvbufs; /* number of recvbufs on freelist */
volatile static struct recvbuf *freelist; /* free buffers */
volatile static struct recvbuf *fulllist; /* lifo buffers with data */
volatile static struct recvbuf *beginlist; /* fifo buffers with data */
static struct recvbuf *volatile freelist; /* free buffers */
static struct recvbuf *volatile fulllist; /* lifo buffers with data */
static struct recvbuf *volatile beginlist; /* fifo buffers with data */
u_long total_recvbufs; /* total recvbufs currently in use */
u_long lowater_additions; /* number of times we have added memory */

View File

@ -54,7 +54,9 @@ static char rcsid[] = "parse.c,v 3.42 1997/01/19 14:37:19 kardel Exp";
#include "ntp_stdlib.h"
#ifdef STREAM
#include <sys/parsestreams.h>
#endif
#if defined(PARSESTREAM) && (defined(SYS_SUNOS4) || defined(SYS_SOLARIS)) && defined(STREAM)
/*