summaryrefslogtreecommitdiff
path: root/sys/kern/tty_conf.c
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2013-12-13 19:55:13 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2013-12-13 19:55:13 +0000
commitea43d15c920ad1131888b858587480950261c946 (patch)
tree6cc505b79ca00cce022e2fe6b032001ffb789586 /sys/kern/tty_conf.c
parent1c0c9a1ff123331a59c32cad90de236ae0e6846f (diff)
Remove the 4.3BSD tty(4) compatibility shims. RIP. ok millert@
Diffstat (limited to 'sys/kern/tty_conf.c')
-rw-r--r--sys/kern/tty_conf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c
index 2b88bb4521c..f63ef7e6d2d 100644
--- a/sys/kern/tty_conf.c
+++ b/sys/kern/tty_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_conf.c,v 1.16 2010/06/29 19:09:12 tedu Exp $ */
+/* $OpenBSD: tty_conf.c,v 1.17 2013/12/13 19:55:12 naddy Exp $ */
/* $NetBSD: tty_conf.c,v 1.18 1996/05/19 17:17:55 jonathan Exp $ */
/*-
@@ -103,8 +103,9 @@ struct linesw linesw[] =
{ ttynodisc, ttyerrclose, ttyerrio, ttyerrio, nullioctl,
ttyerrinput, ttyerrstart, nullmodem }, /* 1- defunct */
- { ttyopen, ttylclose, ttread, ttwrite, nullioctl,
- ttyinput, ttstart, ttymodem }, /* 2- old NTTYDISC */
+ /* 2- old NTTYDISC (defunct) */
+ { ttynodisc, ttyerrclose, ttyerrio, ttyerrio, nullioctl,
+ ttyerrinput, ttyerrstart, nullmodem },
/* 3- TABLDISC (defunct) */
{ ttynodisc, ttyerrclose, ttyerrio, ttyerrio, nullioctl,