summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsdisplay.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-06-02 07:31:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-06-02 07:31:18 +0000
commit68d44aa9ee42fd0c63b21665ae03db92b4deeee8 (patch)
treed67a6ab46d67e6aaf7778c671597ff1bc4918ea5 /sys/dev/wscons/wsdisplay.c
parent232937a7c65ef1af4dbb275c322700e93417021a (diff)
Do not compile scrollback support if option SMALL_KERNEL.
ok deraadt@
Diffstat (limited to 'sys/dev/wscons/wsdisplay.c')
-rw-r--r--sys/dev/wscons/wsdisplay.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index ad55c572230..cdd69418661 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.58 2005/05/18 21:31:27 miod Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.59 2005/06/02 07:31:17 miod Exp $ */
/* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */
/*
@@ -34,6 +34,7 @@
#ifndef SMALL_KERNEL
#define WSMOUSED_SUPPORT
#define BURNER_SUPPORT
+#define SCROLLBACK_SUPPORT
#endif
#include <sys/param.h>
@@ -2050,6 +2051,7 @@ wsdisplay_switchtoconsole()
}
}
+#ifdef SCROLLBACK_SUPPORT
void
wsscrollback(void *arg, int op)
{
@@ -2069,6 +2071,7 @@ wsscrollback(void *arg, int op)
sc->sc_focus->scr_dconf->emulcookie, lines);
}
}
+#endif
#ifdef BURNER_SUPPORT
void