summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-01 18:05:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-01 18:05:31 +0000
commita4462f01a5f1812d408e29e9ada74a5ecd2dd8bd (patch)
treeba8e7e36a803b6b481bded6c693dd72cfe998e84 /sys/arch/alpha
parent43e24c319b3810d8b6c6ce0398bb326daca7f62c (diff)
Adapt to recent wscons changes.
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/tc/cfb.c6
-rw-r--r--sys/arch/alpha/tc/sfb.c6
2 files changed, 6 insertions, 6 deletions
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;