summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-02-27 22:25:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-02-27 22:25:35 +0000
commita4e508ff9a737809c06bd7e6addff78f9d140473 (patch)
tree7a1badc0d6b62127f7c942c36b9811e1ba754185 /sys/arch/sparc/dev
parent8310f06d777da019da616fd6f67c271c37605734 (diff)
Move wsdisplay-only prototypes declarations in the #if NWSDISPLAY > 0 block
so that kernels with no frame buffer drivers can compile; spotted by marc@
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/fb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c
index ec31c0dbdf8..4246ba94791 100644
--- a/sys/arch/sparc/dev/fb.c
+++ b/sys/arch/sparc/dev/fb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fb.c,v 1.30 2005/02/22 10:00:58 miod Exp $ */
+/* $OpenBSD: fb.c,v 1.31 2005/02/27 22:25:34 miod Exp $ */
/* $NetBSD: fb.c,v 1.23 1997/07/07 23:30:22 pk Exp $ */
/*
@@ -90,11 +90,6 @@
#include "wsdisplay.h"
-#if defined(SUN4C) || defined(SUN4M)
-static int a2int(char *, int);
-#endif
-static void fb_initwsd(struct sunfb *);
-
/*
* emergency unblank code
* XXX should be somewhat moved to wscons MI code
@@ -112,6 +107,11 @@ fb_unblank()
#if NWSDISPLAY > 0
+#if defined(SUN4C) || defined(SUN4M)
+static int a2int(char *, int);
+#endif
+static void fb_initwsd(struct sunfb *);
+
void
fb_setsize(struct sunfb *sf, int def_depth, int def_width, int def_height,
int node, int bustype)