summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:20:51 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-07-06 19:20:51 +0000
commit05a8eb13502ed0f64231f022e3965d3507794b26 (patch)
treed0e8df38911ac3d2b8c800b91514f23e6fc0791f /sys
parentadb28585e4802d642142e770be7ef276683bb58f (diff)
sync
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c11
-rw-r--r--sys/kern/syscalls.c9
-rw-r--r--sys/sys/syscall.h10
-rw-r--r--sys/sys/syscallargs.h17
4 files changed, 8 insertions, 39 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index fc74337c149..bcadf8ed06d 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: init_sysent.c,v 1.56 2002/03/14 00:44:16 miod Exp $ */
+/* $OpenBSD: init_sysent.c,v 1.57 2002/07/06 19:20:50 nordin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.50 2002/07/06 19:14:20 nordin Exp
*/
#include <sys/param.h>
@@ -427,17 +427,10 @@ struct sysent sysent[] = {
sys_pread }, /* 173 = pread */
{ 5, s(struct sys_pwrite_args),
sys_pwrite }, /* 174 = pwrite */
-#ifdef NTP
- { 1, s(struct sys_ntp_gettime_args),
- sys_ntp_gettime }, /* 175 = ntp_gettime */
- { 1, s(struct sys_ntp_adjtime_args),
- sys_ntp_adjtime }, /* 176 = ntp_adjtime */
-#else
{ 0, 0,
sys_nosys }, /* 175 = unimplemented ntp_gettime */
{ 0, 0,
sys_nosys }, /* 176 = unimplemented ntp_adjtime */
-#endif
{ 0, 0,
sys_nosys }, /* 177 = unimplemented */
{ 0, 0,
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index e7a5c686ab2..f6c2c7691f2 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscalls.c,v 1.56 2002/03/14 00:44:16 miod Exp $ */
+/* $OpenBSD: syscalls.c,v 1.57 2002/07/06 19:20:50 nordin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.50 2002/07/06 19:14:20 nordin Exp
*/
char *syscallnames[] = {
@@ -207,13 +207,8 @@ char *syscallnames[] = {
"#172 (unimplemented)", /* 172 = unimplemented */
"pread", /* 173 = pread */
"pwrite", /* 174 = pwrite */
-#ifdef NTP
- "ntp_gettime", /* 175 = ntp_gettime */
- "ntp_adjtime", /* 176 = ntp_adjtime */
-#else
"#175 (unimplemented ntp_gettime)", /* 175 = unimplemented ntp_gettime */
"#176 (unimplemented ntp_adjtime)", /* 176 = unimplemented ntp_adjtime */
-#endif
"#177 (unimplemented)", /* 177 = unimplemented */
"#178 (unimplemented)", /* 178 = unimplemented */
"#179 (unimplemented)", /* 179 = unimplemented */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 4e200aeb7e5..3338e941e1a 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscall.h,v 1.55 2002/03/14 00:44:20 miod Exp $ */
+/* $OpenBSD: syscall.h,v 1.56 2002/07/06 19:20:50 nordin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.50 2002/07/06 19:14:20 nordin Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -434,12 +434,6 @@
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
#define SYS_pwrite 174
-/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
-#define SYS_ntp_gettime 175
-
-/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
-#define SYS_ntp_adjtime 176
-
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define SYS_setgid 181
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 730e392fe6f..a8509b75d82 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/syscallargs.h
@@ -1,10 +1,10 @@
-/* $OpenBSD: syscallargs.h,v 1.57 2002/03/14 01:27:14 millert Exp $ */
+/* $OpenBSD: syscallargs.h,v 1.58 2002/07/06 19:20:50 nordin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from; OpenBSD: syscalls.master,v 1.49 2002/03/14 00:42:25 miod Exp
+ * created from; OpenBSD: syscalls.master,v 1.50 2002/07/06 19:14:20 nordin Exp
*/
#ifdef syscallarg
@@ -768,14 +768,6 @@ struct sys_pwrite_args {
syscallarg(off_t) offset;
};
-struct sys_ntp_gettime_args {
- syscallarg(struct ntptimeval *) ntvp;
-};
-
-struct sys_ntp_adjtime_args {
- syscallarg(struct timex *) tp;
-};
-
struct sys_setgid_args {
syscallarg(gid_t) gid;
};
@@ -1362,11 +1354,6 @@ int compat_10_sys_shmsys(struct proc *, void *, register_t *);
#endif
int sys_pread(struct proc *, void *, register_t *);
int sys_pwrite(struct proc *, void *, register_t *);
-#ifdef NTP
-int sys_ntp_gettime(struct proc *, void *, register_t *);
-int sys_ntp_adjtime(struct proc *, void *, register_t *);
-#else
-#endif
int sys_setgid(struct proc *, void *, register_t *);
int sys_setegid(struct proc *, void *, register_t *);
int sys_seteuid(struct proc *, void *, register_t *);