summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-09-09 10:56:18 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-09-09 10:56:18 +0000
commit2497c6d31b7e39c428dc63c3a4a66bffc93c2ff7 (patch)
treeaa950e9b52af7820163dbe2146b24b5e2633443e /sys
parent9cae183f34faf6f48f8c413efe5ae856c0dbc17f (diff)
make mmmap type-correct; from NetBSD
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/amiga/mem.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/amiga/amiga/mem.c b/sys/arch/amiga/amiga/mem.c
index 67619867e83..4fef987b13a 100644
--- a/sys/arch/amiga/amiga/mem.c
+++ b/sys/arch/amiga/amiga/mem.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: mem.c,v 1.4 1997/02/21 08:55:13 niklas Exp $ */
-/* $NetBSD: mem.c,v 1.17 1996/04/23 05:14:40 veego Exp $ */
+/* $OpenBSD: mem.c,v 1.5 1997/09/09 10:56:17 niklas Exp $ */
+/* $NetBSD: mem.c,v 1.18 1997/02/02 07:17:14 thorpej Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -64,7 +64,7 @@ caddr_t devzeropage;
int mmopen __P((dev_t, int, int, struct proc *));
int mmclose __P((dev_t, int, int, struct proc *));
int mmrw __P((dev_t, struct uio *, int));
-int mmmmap __P((dev_t, vm_offset_t, int));
+int mmmmap __P((dev_t, int, int));
/*ARGSUSED*/
int
@@ -231,9 +231,8 @@ unlock:
int
mmmmap(dev, off, prot)
dev_t dev;
- vm_offset_t off;
+ int off;
int prot;
{
-
return (EOPNOTSUPP);
}