summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/memdevs.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-11-24 22:43:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-11-24 22:43:20 +0000
commit1b1b775efbf1ce5de10a4e90ce6f1b8fef11cf6d (patch)
tree8f11d2dab7028064b566ebe83b7f71890c6f1224 /sys/arch/mvme68k/dev/memdevs.h
parent3b6fc494d6c3ea81b031d03cd56c0569869c875f (diff)
Prefer vaddr_t and paddr_t types in device softc, instead of void * and
heavy casts. Improves readability, no functional change.
Diffstat (limited to 'sys/arch/mvme68k/dev/memdevs.h')
-rw-r--r--sys/arch/mvme68k/dev/memdevs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/memdevs.h b/sys/arch/mvme68k/dev/memdevs.h
index ee2243d6462..0972a1956e1 100644
--- a/sys/arch/mvme68k/dev/memdevs.h
+++ b/sys/arch/mvme68k/dev/memdevs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: memdevs.h,v 1.2 2003/04/16 17:34:46 miod Exp $ */
+/* $OpenBSD: memdevs.h,v 1.3 2005/11/24 22:43:16 miod Exp $ */
/*
* Copyright (c) 2002, Miodrag Vallat.
* All rights reserved.
@@ -27,4 +27,4 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-extern int memdevrw(caddr_t, int, struct uio *, int);
+extern int memdevrw(vaddr_t, int, struct uio *, int);