From d2d3e8751c3b7831f7064ccf400978b75b696547 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 12 Nov 1995 06:43:28 +0000 Subject: Included to get central declarations for syscall args structs and prototypes for syscalls. Ifdefed duplicated decentralized declarations of args structs. It's convenient to have this visible but they are hard to maintain. Some are already different from the central declarations. 4.4lite2 puts them in comments in the function headers but I wanted to avoid the large changes for that. --- sys/kern/kern_ntptime.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/kern/kern_ntptime.c') diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index a7006ef29d01..421200a37312 100644 --- a/sys/kern/kern_ntptime.c +++ b/sys/kern/kern_ntptime.c @@ -45,6 +45,7 @@ */ #include #include +#include #include #include #include @@ -168,9 +169,11 @@ ntp_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, /* * ntp_adjtime() - NTP daemon application interface */ +#ifndef _SYS_SYSPROTO_H_ struct ntp_adjtime_args { struct timex *tp; }; +#endif int ntp_adjtime(struct proc *p, struct ntp_adjtime_args *uap, int *retval) -- cgit v1.2.3