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 it compile if WSDISPLAY_COMPAT_RAWKBD is...



details:   https://anonhg.NetBSD.org/src/rev/d2ede5aaaa3d
branches:  trunk
changeset: 474202:d2ede5aaaa3d
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jul 01 11:18:20 1999 +0000

description:
make it compile if WSDISPLAY_COMPAT_RAWKBD is defined, but NWSDISPLAY not,
reported by Kazushi Marukawa <jam%pobox.com@localhost>

diffstat:

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

diffs (31 lines):

diff -r 0d1ff970d039 -r d2ede5aaaa3d sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c    Thu Jul 01 10:55:53 1999 +0000
+++ b/sys/dev/wscons/wskbd.c    Thu Jul 01 11:18:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.24 1999/06/30 06:21:21 augustss Exp $ */
+/* $NetBSD: wskbd.c,v 1.25 1999/07/01 11:18:20 drochner 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.24 1999/06/30 06:21:21 augustss Exp $";
+    "$NetBSD: wskbd.c,v 1.25 1999/07/01 11:18:20 drochner Exp $";
 
 /*
  * Copyright (c) 1992, 1993
@@ -871,10 +871,12 @@
                                         | MOD_META_L | MOD_META_R
                                         | MOD_COMMAND
                                         | MOD_COMMAND1 | MOD_COMMAND2);
+#if NWSDISPLAY > 0
                if (sc->sc_repeating) {
                        sc->sc_repeating = 0;
                        untimeout(wskbd_repeat, sc);
                }
+#endif
                splx(s);
        }
 #endif



Home | Main Index | Thread Index | Old Index