Enable kernelized NTP PLL support on the daemon side.

If your clocks suddenly start running backwards 500 hours per day,
let me know.
ifdef out some bogus declarations.
This commit is contained in:
Garrett Wollman 1994-04-21 21:07:20 +00:00
parent a07bd69021
commit ec5388d9e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1396
2 changed files with 3 additions and 1 deletions

View File

@ -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 */

View File

@ -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 */