summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-10 23:02:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-10 23:02:48 +0000
commit6f59573197db51ee10f52db140d3ae8227bb4bfa (patch)
treee364b294ec8f3c4e83606e3123719ae05bd8e589 /sys
parent01142e84e304b5a8cbfcbc33f8a386d578f367f7 (diff)
Do not compile in wsdisplay_emulinput() if WSEMUL_NO_VT100 is #defined.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/wscons/wsdisplay.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index 1d046dbf488..f38e1f66364 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.88 2009/01/10 17:46:04 miod Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.89 2009/01/10 23:02:47 miod Exp $ */
/* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */
/*
@@ -1548,6 +1548,7 @@ wsdisplay_emulbell(void *v)
FWRITE, NULL);
}
+#if !defined(WSEMUL_NO_VT100)
void
wsdisplay_emulinput(void *v, const u_char *data, u_int count)
{
@@ -1566,6 +1567,7 @@ wsdisplay_emulinput(void *v, const u_char *data, u_int count)
while (count-- > 0)
(*linesw[tp->t_line].l_rint)(*data++, tp);
}
+#endif
/*
* Calls from the keyboard interface.