summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-10-16 12:25:26 +0000
committerderaadt <deraadt@openbsd.org>1996-10-16 12:25:26 +0000
commit45825eea1cb4474780ffe730dc05130e61b0ce96 (patch)
treeed9e398e52d2d2ef6d1ea86348b20e82d0cdaa11
parentuse variable (diff)
downloadwireguard-openbsd-45825eea1cb4474780ffe730dc05130e61b0ce96.tar.xz
wireguard-openbsd-45825eea1cb4474780ffe730dc05130e61b0ce96.zip
fix decls
-rw-r--r--sys/compat/linux/linux_mount.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/sys/compat/linux/linux_mount.c b/sys/compat/linux/linux_mount.c
index 7f0624d890d..453e1ad44b3 100644
--- a/sys/compat/linux/linux_mount.c
+++ b/sys/compat/linux/linux_mount.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_mount.c,v 1.3 1996/08/03 18:06:43 deraadt Exp $ */
+/* $OpenBSD: linux_mount.c,v 1.4 1996/10/16 12:25:26 deraadt Exp $ */
/*
* Copyright (c) 1996 Erik Theisen
@@ -41,6 +41,8 @@
#include <compat/linux/linux_types.h>
#include <compat/linux/linux_errno.h>
+#include <compat/linux/linux_signal.h>
+#include <compat/linux/linux_syscallargs.h>
/*
* These are just dummy mount/umount functions
@@ -52,27 +54,29 @@
* emulation that mounts FSs.
*/
int
-linux_sys_mount(p, uap, retval)
+linux_sys_mount(p, v, retval)
struct proc *p;
+ void *v;
+ register_t *retval;
+{
struct linux_sys_mount_args /* {
syscallarg(char *) specialfile;
syscallarg(char *) dir;
syscallarg(char *) filesystemtype;
syscallarg(long) rwflag;
syscallarg(void *) data;
- } */ *uap;
- register_t *retval;
-{
+ } *uap = v */ ;
return EPERM;
}
int
-linux_sys_umount(p, uap, retval)
+linux_sys_umount(p, v, retval)
struct proc *p;
- struct linux_sys_umount_args /* {
- syscallarg(char *) specialfile;
- } */ *uap;
+ void *v;
register_t *retval;
{
+ struct linux_sys_umount_args /* {
+ syscallarg(char *) specialfile;
+ } *uap = v */ ;
return EPERM;
}