summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-04 01:01:05 +0000
committerderaadt <deraadt@openbsd.org>1996-10-04 01:01:05 +0000
commit758a57eafe217fa433ee0de2b69fb522a5b79d41 (patch)
tree68173d6a3a26a1205b1c7ba97b1b0482904fa3b5
parentsys_getfh is NFSCLIENT|NFSSERVER (diff)
downloadwireguard-openbsd-758a57eafe217fa433ee0de2b69fb522a5b79d41.tar.xz
wireguard-openbsd-758a57eafe217fa433ee0de2b69fb522a5b79d41.zip
update
-rw-r--r--sys/kern/init_sysent.c4
-rw-r--r--sys/kern/syscalls.c4
-rw-r--r--sys/sys/syscall.h2
-rw-r--r--sys/sys/syscallargs.h4
4 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 3717fa41a68..978d134af6a 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_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.10 1996/08/25 09:51:34 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1996/10/04 00:59:19 deraadt Exp
*/
#include <sys/param.h>
@@ -370,7 +370,7 @@ struct sysent sysent[] = {
sys_nosys }, /* 159 = unimplemented */
{ 0, 0,
sys_nosys }, /* 160 = unimplemented */
-#ifdef NFSCLIENT
+#if defined(NFSCLIENT) || defined(NFSSERVER)
{ 2, s(struct sys_getfh_args),
sys_getfh }, /* 161 = getfh */
#else
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index c1ceae482d6..100ee42cbae 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1996/08/25 09:51:34 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1996/10/04 00:59:19 deraadt Exp
*/
char *syscallnames[] = {
@@ -179,7 +179,7 @@ char *syscallnames[] = {
"fstatfs", /* 158 = fstatfs */
"#159 (unimplemented)", /* 159 = unimplemented */
"#160 (unimplemented)", /* 160 = unimplemented */
-#ifdef NFSCLIENT
+#if defined(NFSCLIENT) || defined(NFSSERVER)
"getfh", /* 161 = getfh */
#else
"#161 (unimplemented getfh)", /* 161 = unimplemented getfh */
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 778d07b3e4c..186679e927f 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.10 1996/08/25 09:51:34 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1996/10/04 00:59:19 deraadt Exp
*/
#define SYS_syscall 0
diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h
index 742a63d7fb4..5115cf406f0 100644
--- a/sys/sys/syscallargs.h
+++ b/sys/sys/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.10 1996/08/25 09:51:34 deraadt Exp
+ * created from OpenBSD: syscalls.master,v 1.11 1996/10/04 00:59:19 deraadt Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -1127,7 +1127,7 @@ int sys_nfssvc __P((struct proc *, void *, register_t *));
int compat_43_sys_getdirentries __P((struct proc *, void *, register_t *));
int sys_statfs __P((struct proc *, void *, register_t *));
int sys_fstatfs __P((struct proc *, void *, register_t *));
-#ifdef NFSCLIENT
+#if defined(NFSCLIENT) || defined(NFSSERVER)
int sys_getfh __P((struct proc *, void *, register_t *));
#else
#endif