Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons Make this build without wsdisplay.



details:   https://anonhg.NetBSD.org/src/rev/737b8afbb357
branches:  trunk
changeset: 473011:737b8afbb357
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun May 16 19:21:31 1999 +0000

description:
Make this build without wsdisplay.

diffstat:

 sys/dev/wscons/wskbd.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 4b4d3711d534 -r 737b8afbb357 sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c    Sun May 16 18:00:35 1999 +0000
+++ b/sys/dev/wscons/wskbd.c    Sun May 16 19:21:31 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.22 1999/05/15 14:22:46 drochner Exp $ */
+/* $NetBSD: wskbd.c,v 1.23 1999/05/16 19:21:31 thorpej Exp $ */
 
 /*
  * Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.
@@ -36,7 +36,7 @@
 static const char _copyright[] __attribute__ ((unused)) =
     "Copyright (c) 1996, 1997 Christopher G. Demetriou.  All rights reserved.";
 static const char _rcsid[] __attribute__ ((unused)) =
-    "$NetBSD: wskbd.c,v 1.22 1999/05/15 14:22:46 drochner Exp $";
+    "$NetBSD: wskbd.c,v 1.23 1999/05/16 19:21:31 thorpej Exp $";
 
 /*
  * Copyright (c) 1992, 1993
@@ -303,8 +303,10 @@
 
                printf(": console keyboard");
 
+#if NWSDISPLAY > 0
                if ((sc->sc_displaydv = wsdisplay_set_console_kbd(self)))
                        printf(", using %s", sc->sc_displaydv->dv_xname);
+#endif
        }
        printf("\n");
 



Home | Main Index | Thread Index | Old Index