diff options
author | 2009-01-04 20:32:55 +0000 | |
---|---|---|
committer | 2009-01-04 20:32:55 +0000 | |
commit | ce8f3c9e292274f3d90bc7d8155940fe57358007 (patch) | |
tree | 962de7fe5c019ae1425dd733bedcc352e9a99313 | |
parent | sync (diff) | |
download | wireguard-openbsd-ce8f3c9e292274f3d90bc7d8155940fe57358007.tar.xz wireguard-openbsd-ce8f3c9e292274f3d90bc7d8155940fe57358007.zip |
Make this compile for SUN4 only kernels.
-rw-r--r-- | sys/arch/sparc/dev/fb.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index 92495f2d5ca..7a055f38051 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fb.c,v 1.44 2008/12/26 22:30:21 miod Exp $ */ +/* $OpenBSD: fb.c,v 1.45 2009/01/04 20:32:55 miod Exp $ */ /* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */ /* @@ -304,7 +304,10 @@ void fbwscons_init(struct sunfb *sf, int isconsole) { struct rasops_info *ri = &sf->sf_ro; - int cols, rows, fw, fh, wt, wl; + int cols, rows; +#if defined(SUN4C) || defined(SUN4M) + int fw, fh, wt, wl; +#endif /* ri_hw and ri_bits must have already been setup by caller */ ri->ri_flg = RI_FULLCLEAR; |