Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix compile error.



details:   https://anonhg.NetBSD.org/src/rev/cef5ed9c829f
branches:  trunk
changeset: 539868:cef5ed9c829f
user:      junyoung <junyoung%NetBSD.org@localhost>
date:      Thu Nov 28 07:02:20 2002 +0000

description:
Fix compile error.

diffstat:

 sys/dev/ic/vga_raster.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 53be3fc25a89 -r cef5ed9c829f sys/dev/ic/vga_raster.c
--- a/sys/dev/ic/vga_raster.c   Thu Nov 28 06:06:13 2002 +0000
+++ b/sys/dev/ic/vga_raster.c   Thu Nov 28 07:02:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vga_raster.c,v 1.4 2002/11/04 08:05:53 junyoung Exp $  */
+/*     $NetBSD: vga_raster.c,v 1.5 2002/11/28 07:02:20 junyoung Exp $  */
 
 /*
  * Copyright (c) 2001, 2002 Bang Jun-Young
@@ -312,7 +312,9 @@
 {
        long defattr;
        const struct wsscreen_descr *scr;
+#ifdef VGA_CONSOLE_SCREENTYPE
        char *typestr;
+#endif
 
        if (check && !vga_common_probe(iot, memt))
                return (ENXIO);



Home | Main Index | Thread Index | Old Index