aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-04-21 21:07:20 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-04-21 21:07:20 +0000
commitec5388d9e61122b9ea98ae41748080181cec8cc2 (patch)
tree8e00069a676a9d18060c9d70bf3f1e3b1db69b25 /usr.sbin
parenta07bd6902171655a99f8ed2803336735aa624456 (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/xntpd/xntpd/ntp_loopfilter.c2
-rw-r--r--usr.sbin/xntpd/xntpd/ntp_request.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/xntpd/ntp_loopfilter.c b/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
index 3f66317042e5b..13cbd61b67412 100644
--- a/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
+++ b/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
@@ -220,7 +220,9 @@ static void pps_receive P((struct recvbuf *));
#define MOD_BITS (MOD_OFFSET | MOD_MAXERROR | MOD_ESTERROR | \
MOD_STATUS | MOD_TIMECONST)
extern int sigvec P((int, struct sigvec *, struct sigvec *));
+#ifndef NTP_SYSCALLS_LIBC
extern int syscall P((int, void *, ...));
+#endif /* no NTP syscalls in libc */
void pll_trap P((void));
static int pll_status; /* status bits for kernel pll */
diff --git a/usr.sbin/xntpd/xntpd/ntp_request.c b/usr.sbin/xntpd/xntpd/ntp_request.c
index d1fb18fe316a7..355b13b42b282 100644
--- a/usr.sbin/xntpd/xntpd/ntp_request.c
+++ b/usr.sbin/xntpd/xntpd/ntp_request.c
@@ -172,7 +172,7 @@ U_LONG numresppkts; /* number of resp packets sent with data */
U_LONG errorcounter[INFO_ERR_AUTH+1]; /* lazy way to count errors, indexed */
/* by the error code */
-#ifdef KERNEL_PLL
+#if defined(KERNEL_PLL) && !defined(NTP_SYSCALLS_LIBC)
extern int syscall P((int, void *, ...));
#endif /* KERNEL_PLL */