summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2009-01-10 23:02:47 +0000
committermiod <miod@openbsd.org>2009-01-10 23:02:47 +0000
commitd2ad51da560dd33ca2dd6ee823d5f9a919919ce7 (patch)
tree2c3c51c9ea54dcb6276afe7d846b00a1d281bded /sys/dev
parenttweak previous; (diff)
downloadwireguard-openbsd-d2ad51da560dd33ca2dd6ee823d5f9a919919ce7.tar.xz
wireguard-openbsd-d2ad51da560dd33ca2dd6ee823d5f9a919919ce7.zip
Do not compile in wsdisplay_emulinput() if WSEMUL_NO_VT100 is #defined.
Diffstat (limited to 'sys/dev')
-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.