From a4462f01a5f1812d408e29e9ada74a5ecd2dd8bd Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 1 Feb 2001 18:05:31 +0000 Subject: Adapt to recent wscons changes. --- sys/arch/alpha/tc/cfb.c | 6 +++--- sys/arch/alpha/tc/sfb.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/arch/alpha') diff --git a/sys/arch/alpha/tc/cfb.c b/sys/arch/alpha/tc/cfb.c index 09a059f245d..f2d978ed6a2 100644 --- a/sys/arch/alpha/tc/cfb.c +++ b/sys/arch/alpha/tc/cfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfb.c,v 1.11 2000/08/04 16:45:47 ericj Exp $ */ +/* $OpenBSD: cfb.c,v 1.12 2001/02/01 18:05:30 art Exp $ */ /* $NetBSD: cfb.c,v 1.7 1996/12/05 01:39:39 cgd Exp $ */ /* @@ -99,7 +99,7 @@ struct wsscreen_list cfb_screenlist = { }; int cfbioctl __P((void *, u_long, caddr_t, int, struct proc *)); -int cfbmmap __P((void *, off_t, int)); +paddr_t cfbmmap __P((void *, off_t, int)); int cfbintr __P((void *)); static int cfb_alloc_screen __P((void *, const struct wsscreen_descr *, @@ -304,7 +304,7 @@ cfbioctl(v, cmd, data, flag, p) return (-1); } -int +paddr_t cfbmmap(v, offset, prot) void *v; off_t offset; diff --git a/sys/arch/alpha/tc/sfb.c b/sys/arch/alpha/tc/sfb.c index 727af13cac4..3d06f9165ff 100644 --- a/sys/arch/alpha/tc/sfb.c +++ b/sys/arch/alpha/tc/sfb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfb.c,v 1.11 2000/08/04 16:45:47 ericj Exp $ */ +/* $OpenBSD: sfb.c,v 1.12 2001/02/01 18:05:30 art Exp $ */ /* $NetBSD: sfb.c,v 1.7 1996/12/05 01:39:44 cgd Exp $ */ /* @@ -98,7 +98,7 @@ struct wsscreen_list sfb_screenlist = { }; int sfbioctl __P((void *, u_long, caddr_t, int, struct proc *)); -int sfbmmap __P((void *, off_t, int)); +paddr_t sfbmmap __P((void *, off_t, int)); static int sfb_alloc_screen __P((void *, const struct wsscreen_descr *, void **, int *, int *, long *)); @@ -349,7 +349,7 @@ sfbioctl(v, cmd, data, flag, p) return (-1); } -int +paddr_t sfbmmap(v, offset, prot) void *v; off_t offset; -- cgit v1.2.3