summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-07 14:47:36 +0000
committerbde <bde@FreeBSD.org>1995-12-07 14:47:36 +0000
commit8cb83247b99409d922d3d2022f8af0815f88bcbd (patch)
treea85bd21b9a5759b207ad808e9e7dd49a8f210b1d /usr.sbin/xntpd
parent0f15d0a9c376eebed8d856a37624d57c5371e652 (diff)
downloadFreeBSD-src-8cb83247b99409d922d3d2022f8af0815f88bcbd.zip
FreeBSD-src-8cb83247b99409d922d3d2022f8af0815f88bcbd.tar.gz
Fixed the type of a signal handler.
Diffstat (limited to 'usr.sbin/xntpd')
-rw-r--r--usr.sbin/xntpd/xntpd/ntp_loopfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/xntpd/xntpd/ntp_loopfilter.c b/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
index 69939ec..f2866d5 100644
--- a/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
+++ b/usr.sbin/xntpd/xntpd/ntp_loopfilter.c
@@ -139,7 +139,7 @@ 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));
+void pll_trap P((int));
static struct sigvec sigsys; /* current sigvec status */
static struct sigvec newsigsys; /* new sigvec status */
@@ -713,7 +713,7 @@ loop_config(item, lfp_value, int_value)
* the stock adjtime() syscall and a lot of indelicate abuse.
*/
RETSIGTYPE
-pll_trap()
+pll_trap(int sig)
{
pll_control = 0;
}
OpenPOWER on IntegriCloud