mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 08:33:20 +00:00
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:
parent
a07bd69021
commit
ec5388d9e6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1396
@ -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 */
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user