summaryrefslogtreecommitdiff
path: root/sys/compat/freebsd/freebsd_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd/freebsd_misc.c')
-rw-r--r--sys/compat/freebsd/freebsd_misc.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/compat/freebsd/freebsd_misc.c b/sys/compat/freebsd/freebsd_misc.c
index a89018fcad1..fbf4c0d9414 100644
--- a/sys/compat/freebsd/freebsd_misc.c
+++ b/sys/compat/freebsd/freebsd_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: freebsd_misc.c,v 1.4 1997/11/13 07:35:38 deraadt Exp $ */
+/* $OpenBSD: freebsd_misc.c,v 1.5 1997/11/13 18:35:24 deraadt Exp $ */
/* $NetBSD: freebsd_misc.c,v 1.2 1996/05/03 17:03:10 christos Exp $ */
/*
@@ -48,29 +48,6 @@
#include <compat/freebsd/freebsd_rtprio.h>
#include <compat/freebsd/freebsd_timex.h>
-int
-freebsd_sys_msync(p, v, retval)
- struct proc *p;
- void *v;
- register_t *retval;
-{
- struct freebsd_sys_msync_args /* {
- syscallarg(caddr_t) addr;
- syscallarg(size_t) len;
- syscallarg(int) flags;
- } */ *uap = v;
- struct sys_msync_args bma;
-
- /*
- * FreeBSD-2.0-RELEASE's msync(2) is compatible with NetBSD's.
- * FreeBSD-2.0.5-RELEASE's msync(2) has addtional argument `flags',
- * but syscall number is not changed. :-<
- */
- SCARG(&bma, addr) = SCARG(uap, addr);
- SCARG(&bma, len) = SCARG(uap, len);
- return sys_msync(p, &bma, retval); /* XXX - simply ignores `flags' */
-}
-
/* just a place holder */
int