summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-01-31 02:12:30 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-01-31 02:12:30 +0000
commit2b8b8eb5fa50614309bcab5ab89cc1a61eb815be (patch)
tree6e7f238ce8f28a3a26ffed477c3a1cb191173283 /sys/dev/ic
parent1ed40fb84c5006f072306855bc253e18eabdf770 (diff)
Some int -> u_long (I incorrectly converted paddr_t to int when porting this).
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/vga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c
index 43f0feb7d3e..6441f204470 100644
--- a/sys/dev/ic/vga.c
+++ b/sys/dev/ic/vga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vga.c,v 1.14 2000/11/22 01:39:38 aaron Exp $ */
+/* $OpenBSD: vga.c,v 1.15 2001/01/31 02:12:28 aaron Exp $ */
/* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */
/*
@@ -240,7 +240,7 @@ const struct wsscreen_list vga_screenlist = {
};
int vga_ioctl __P((void *, u_long, caddr_t, int, struct proc *));
-int vga_mmap __P((void *, off_t, int));
+u_long vga_mmap __P((void *, off_t, int));
int vga_alloc_screen __P((void *, const struct wsscreen_descr *,
void **, int *, int *, long *));
void vga_free_screen __P((void *, void *));
@@ -647,7 +647,7 @@ vga_ioctl(v, cmd, data, flag, p)
return -1;
}
-int
+u_long
vga_mmap(v, offset, prot)
void *v;
off_t offset;