summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-08-29 20:36:54 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-08-29 20:36:54 +0000
commit365c9d14e3e2862a17ec1c82aff4a946ce4aae5d (patch)
tree5c175cc153eae4daaeaeded2c94594def682be57
parent7e2e570aca9380c64ab7593de252b156e0db4fc0 (diff)
regen for ntp_gettime(2), ntp_adjtime(2)
-rw-r--r--sys/compat/svr4/svr4_syscall.h4
-rw-r--r--sys/compat/svr4/svr4_syscallargs.h7
-rw-r--r--sys/compat/svr4/svr4_syscalls.c7
-rw-r--r--sys/compat/svr4/svr4_sysent.c9
4 files changed, 23 insertions, 4 deletions
diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h
index fa04a6b117d..e922fa8c21e 100644
--- a/sys/compat/svr4/svr4_syscall.h
+++ b/sys/compat/svr4/svr4_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.17 1997/08/29 20:36:13 kstailey Exp
*/
#define SVR4_SYS_syscall 0
@@ -147,4 +147,6 @@
#define SVR4_SYS_getsockname 244
#define SVR4_SYS_getsockopt 245
#define SVR4_SYS_setsockopt 246
+#define SVR4_SYS_ntp_gettime 248
+#define SVR4_SYS_ntp_adjtime 249
#define SVR4_SYS_MAXSYSCALL 250
diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h
index 5ed8e662637..abfd0340279 100644
--- a/sys/compat/svr4/svr4_syscallargs.h
+++ b/sys/compat/svr4/svr4_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.17 1997/08/29 20:36:13 kstailey Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -501,3 +501,8 @@ int compat_43_sys_getpeername __P((struct proc *, void *, register_t *));
int compat_43_sys_getsockname __P((struct proc *, void *, register_t *));
int sys_getsockopt __P((struct proc *, void *, register_t *));
int sys_setsockopt __P((struct proc *, void *, register_t *));
+#ifdef NTP
+int ntp_gettime __P((struct proc *, void *, register_t *));
+int ntp_adjtime __P((struct proc *, void *, register_t *));
+#else
+#endif
diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c
index 23cf2595df6..90cd4866f32 100644
--- a/sys/compat/svr4/svr4_syscalls.c
+++ b/sys/compat/svr4/svr4_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.17 1997/08/29 20:36:13 kstailey Exp
*/
char *svr4_syscallnames[] = {
@@ -270,6 +270,11 @@ char *svr4_syscallnames[] = {
"getsockopt", /* 245 = getsockopt */
"setsockopt", /* 246 = setsockopt */
"#247 (unimplemented sockconfig)", /* 247 = unimplemented sockconfig */
+#ifdef NTP
+ "ntp_gettime", /* 248 = ntp_gettime */
+ "ntp_adjtime", /* 249 = ntp_adjtime */
+#else
"#248 (unimplemented ntp_gettime)", /* 248 = unimplemented ntp_gettime */
"#249 (unimplemented ntp_adjtime)", /* 249 = unimplemented ntp_adjtime */
+#endif
};
diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c
index db454865820..d3ce8b0b8cc 100644
--- a/sys/compat/svr4/svr4_sysent.c
+++ b/sys/compat/svr4/svr4_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.16 1997/08/29 20:15:07 kstailey Exp
+ * created from OpenBSD: syscalls.master,v 1.17 1997/08/29 20:36:13 kstailey Exp
*/
#include <sys/param.h>
@@ -555,9 +555,16 @@ struct sysent svr4_sysent[] = {
sys_setsockopt }, /* 246 = setsockopt */
{ 0, 0,
sys_nosys }, /* 247 = unimplemented sockconfig */
+#ifdef NTP
+ { 1, s(struct ntp_gettime_args),
+ ntp_gettime }, /* 248 = ntp_gettime */
+ { 1, s(struct ntp_adjtime_args),
+ ntp_adjtime }, /* 249 = ntp_adjtime */
+#else
{ 0, 0,
sys_nosys }, /* 248 = unimplemented ntp_gettime */
{ 0, 0,
sys_nosys }, /* 249 = unimplemented ntp_adjtime */
+#endif
};