From 2497c6d31b7e39c428dc63c3a4a66bffc93c2ff7 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Tue, 9 Sep 1997 10:56:18 +0000 Subject: make mmmap type-correct; from NetBSD --- sys/arch/amiga/amiga/mem.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sys') 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); } -- cgit v1.2.3