summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-01 10:08:31 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-01 10:08:31 +0000
commitc8558d6b6a1fb9dcb3e3e9783683a1a673cc52e3 (patch)
tree795398eb0ff552759ebf65e1340f42c8138f4c0f /sys/kern
parent4b3dd28add6815613ad235762d5964ea01b9e3a5 (diff)
sl(4) is no more, thanks for all the fish!
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/tty_conf.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/kern/tty_conf.c b/sys/kern/tty_conf.c
index 5bfc5d288a5..2f0ec182f97 100644
--- a/sys/kern/tty_conf.c
+++ b/sys/kern/tty_conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty_conf.c,v 1.19 2014/09/14 14:17:25 jsg Exp $ */
+/* $OpenBSD: tty_conf.c,v 1.20 2014/10/01 10:08:30 mpi Exp $ */
/* $NetBSD: tty_conf.c,v 1.18 1996/05/19 17:17:55 jonathan Exp $ */
/*-
@@ -51,16 +51,6 @@
int nullioctl(struct tty *, u_long, caddr_t, int, struct proc *);
-#include "sl.h"
-#if NSL > 0
-int slopen(dev_t dev, struct tty *tp, struct proc *);
-int slclose(struct tty *tp, int flags, struct proc *);
-int sltioctl(struct tty *tp, u_long cmd, caddr_t data,
- int flag, struct proc *p);
-int slinput(int c, struct tty *tp);
-int slstart(struct tty *tp);
-#endif
-
#include "ppp.h"
#if NPPP > 0
int pppopen(dev_t dev, struct tty *tp, struct proc *);
@@ -110,13 +100,9 @@ struct linesw linesw[] =
{ ttynodisc, ttyerrclose, ttyerrio, ttyerrio, nullioctl,
ttyerrinput, ttyerrstart, nullmodem },
-#if NSL > 0
- { slopen, slclose, ttyerrio, ttyerrio, sltioctl,
- slinput, slstart, nullmodem }, /* 4- SLIPDISC */
-#else
+ /* 4- SLIPDISC (defunct) */
{ ttynodisc, ttyerrclose, ttyerrio, ttyerrio, nullioctl,
ttyerrinput, ttyerrstart, nullmodem },
-#endif
#if NPPP > 0
{ pppopen, pppclose, pppread, pppwrite, ppptioctl,