Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/dev Wrap the definition of cg14_set_rcons_lut...



details:   https://anonhg.NetBSD.org/src/rev/c73c5de41a69
branches:  trunk
changeset: 587297:c73c5de41a69
user:      he <he%NetBSD.org@localhost>
date:      Thu Jan 19 15:09:57 2006 +0000

description:
Wrap the definition of cg14_set_rcons_luts() in an #ifdef RASTERCONSOLE,
to allow the INSTALL kernel to build, as it's unused there.

diffstat:

 sys/arch/sparc/dev/cgfourteen.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r bd6aaf979806 -r c73c5de41a69 sys/arch/sparc/dev/cgfourteen.c
--- a/sys/arch/sparc/dev/cgfourteen.c   Thu Jan 19 13:34:11 2006 +0000
+++ b/sys/arch/sparc/dev/cgfourteen.c   Thu Jan 19 15:09:57 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cgfourteen.c,v 1.43 2006/01/19 09:32:37 he Exp $ */
+/*     $NetBSD: cgfourteen.c,v 1.44 2006/01/19 15:09:57 he Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -165,6 +165,7 @@
  */
 #define COLOUR_OFFSET (256*1024)
 
+#ifdef RASTERCONSOLE
 static void cg14_set_rcons_luts(struct cgfourteen_softc *sc)
 {
        int i;
@@ -174,6 +175,7 @@
        sc->sc_clut2->clut_lut[0] = 0x00ffffff;
        sc->sc_clut2->clut_lut[255] = 0;
 }
+#endif /* RASTERCONSOLE */
 
 /*
  * Attach a display.  We need to notice if it is the console, too.



Home | Main Index | Thread Index | Old Index