summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-08-29 20:44:27 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-08-29 20:44:27 +0000
commit184dadc077288865cd826c567a64543547188eb8 (patch)
treeb1ed0f9cbf96e741a660e29d8d9ed549b52b7353
parent365c9d14e3e2862a17ec1c82aff4a946ce4aae5d (diff)
prefix ntp system calls with sys_ like other system calls
-rw-r--r--sys/compat/svr4/syscalls.master6
-rw-r--r--sys/kern/kern_ntptime.c10
-rw-r--r--sys/kern/syscalls.master6
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/compat/svr4/syscalls.master b/sys/compat/svr4/syscalls.master
index 15c5d7c259c..c7cc0cb2eee 100644
--- a/sys/compat/svr4/syscalls.master
+++ b/sys/compat/svr4/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.17 1997/08/29 20:36:13 kstailey Exp $
+ $OpenBSD: syscalls.master,v 1.18 1997/08/29 20:44:26 kstailey Exp $
; $NetBSD: syscalls.master,v 1.17 1996/02/10 17:12:51 christos Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -377,8 +377,8 @@
const void *val, int valsize); }
247 UNIMPL sockconfig
#ifdef NTP
-248 NOARGS { int ntp_gettime(struct ntptimeval *ntvp); }
-249 NOARGS { int ntp_adjtime(struct timex *tp); }
+248 NOARGS { int sys_ntp_gettime(struct ntptimeval *ntvp); }
+249 NOARGS { int sys_ntp_adjtime(struct timex *tp); }
#else
248 UNIMPL ntp_gettime
249 UNIMPL ntp_adjtime
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 527fb410878..a5d284c1c6b 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ntptime.c,v 1.4 1996/06/12 07:51:06 deraadt Exp $ */
+/* $OpenBSD: kern_ntptime.c,v 1.5 1997/08/29 20:44:25 kstailey Exp $ */
/* $NetBSD: kern_ntptime.c,v 1.2 1996/03/07 14:31:20 christos Exp $ */
/******************************************************************************
@@ -104,13 +104,13 @@ extern long pps_stbcnt; /* stability limit exceeded */
* ntp_gettime() - NTP user application interface
*/
int
-ntp_gettime(p, v, retval)
+sys_ntp_gettime(p, v, retval)
struct proc *p;
void *v;
register_t *retval;
{
- struct ntp_gettime_args /* {
+ struct sys_ntp_gettime_args /* {
syscallarg(struct timex *) tp;
} */ *uap = v;
struct timeval atv;
@@ -191,12 +191,12 @@ ntp_gettime(p, v, retval)
* ntp_adjtime() - NTP daemon application interface
*/
int
-ntp_adjtime(p, v, retval)
+sys_ntp_adjtime(p, v, retval)
struct proc *p;
void *v;
register_t *retval;
{
- struct ntp_adjtime_args /* {
+ struct sys_ntp_adjtime_args /* {
syscallarg(struct timex *) tp;
} */ *uap = v;
struct timex ntv;
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 1830c1558ea..d0ea958d481 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.15 1997/05/30 21:43:33 kstailey Exp $
+ $OpenBSD: syscalls.master,v 1.16 1997/08/29 20:44:24 kstailey Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -311,8 +311,8 @@
173 UNIMPL
174 UNIMPL
#ifdef NTP
-175 STD { int ntp_gettime(struct timex *tp); }
-176 STD { int ntp_adjtime(struct timex *tp); }
+175 STD { int sys_ntp_gettime(struct timex *tp); }
+176 STD { int sys_ntp_adjtime(struct timex *tp); }
#else
175 UNIMPL ntp_gettime
176 UNIMPL ntp_adjtime