diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-01 23:51:08 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-02-01 23:51:08 +0000 |
commit | a5f56aa70ec110f9750c93c1a3df6d2dd9e25585 (patch) | |
tree | 4eb1dc8de5684b5fe719beb4f2dc3fb434cc61cf /sys/arch/powerpc | |
parent | d1b29997e411919e552ae58be449a93d603be6e4 (diff) |
mmap return paddr_t not int.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/pci/vgafb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/pci/vgafb.c b/sys/arch/powerpc/pci/vgafb.c index 5962e9d1127..7f84cd97e3f 100644 --- a/sys/arch/powerpc/pci/vgafb.c +++ b/sys/arch/powerpc/pci/vgafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vgafb.c,v 1.7 2001/01/15 19:50:43 art Exp $ */ +/* $OpenBSD: vgafb.c,v 1.8 2001/02/01 23:51:07 drahn Exp $ */ /* $NetBSD: vga.c,v 1.3 1996/12/02 22:24:54 cgd Exp $ */ /* @@ -109,7 +109,7 @@ struct wsdisplay_emulops vgafb_emulops = { }; int vgafb_ioctl __P((void *, u_long, caddr_t, int, struct proc *)); -int vgafb_mmap __P((void *, off_t, int)); +paddr_t vgafb_mmap __P((void *, off_t, int)); int vgafb_alloc_screen __P((void *, const struct wsscreen_descr *, void **, int *, int *, long *)); void vgafb_free_screen __P((void *, void *)); @@ -389,7 +389,7 @@ vgafb_ioctl(v, cmd, data, flag, p) return -1; } -int +paddr_t vgafb_mmap(v, offset, prot) void *v; off_t offset; |