summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1996-10-19 13:25:58 +0000
committermickey <mickey@openbsd.org>1996-10-19 13:25:58 +0000
commite22ab1d40dca392fbd22cc9fd6acde728251a791 (patch)
tree6356a31a0fb2891208cce789ec3398e9e72203b1 /sys/kern/tty.c
parentadd random device (diff)
downloadwireguard-openbsd-e22ab1d40dca392fbd22cc9fd6acde728251a791.tar.xz
wireguard-openbsd-e22ab1d40dca392fbd22cc9fd6acde728251a791.zip
random device is permanent now.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index b573cd6948d..96f3c475b02 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.10 1996/08/29 07:46:35 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.11 1996/10/19 13:26:01 mickey Exp $ */
/* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */
/*-
@@ -62,11 +62,7 @@
#include <sys/namei.h>
#include <vm/vm.h>
-
-#include "random.h"
-#if NRANDOM > 0
#include <dev/rndvar.h>
-#endif
static int ttnread __P((struct tty *));
static void ttyblock __P((struct tty *));
@@ -235,9 +231,7 @@ ttyinput(c, tp)
register u_char *cc;
int i, error;
-#if NRANDOM > 0
add_tty_randomness(tp->t_dev, c);
-#endif
/*
* If input is pending take it first.
*/