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 even if there is no wsdisplay.
details: https://anonhg.NetBSD.org/src/rev/129ff969f3dd
branches: trunk
changeset: 479001:129ff969f3dd
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Dec 01 11:41:46 1999 +0000
description:
Make it compile even if there is no wsdisplay.
diffstat:
sys/dev/wscons/wskbd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r bcc1c99dcd0f -r 129ff969f3dd sys/dev/wscons/wskbd.c
--- a/sys/dev/wscons/wskbd.c Wed Dec 01 08:55:09 1999 +0000
+++ b/sys/dev/wscons/wskbd.c Wed Dec 01 11:41:46 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wskbd.c,v 1.31 1999/11/08 04:48:18 mycroft Exp $ */
+/* $NetBSD: wskbd.c,v 1.32 1999/12/01 11:41:46 augustss 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.31 1999/11/08 04:48:18 mycroft Exp $";
+ "$NetBSD: wskbd.c,v 1.32 1999/12/01 11:41:46 augustss Exp $";
/*
* Copyright (c) 1992, 1993
@@ -265,10 +265,12 @@
cdev_decl(wskbd);
+#if NWSMUX > 0 || NWSDISPLAY > 0
struct wsmuxops wskbd_muxops = {
wskbdopen, wskbddoclose, wskbddoioctl, wskbd_displayioctl,
wskbd_set_display
};
+#endif
#if NWSDISPLAY > 0
static void wskbd_repeat __P((void *v));
Home |
Main Index |
Thread Index |
Old Index