l_noioctl, ttyinput, ttwwakeup, ttymodem },
NODISC(1), /* 1- defunct */
/* 2- NTTYDISC */
-#if COMPAT_43_TTY
{ ttyopen, ttylclose, ttread, ttwrite,
l_noioctl, ttyinput, ttwwakeup, ttymodem },
-#else
- NODISC(2),
-#endif
NODISC(3), /* TABLDISC */
NODISC(4), /* SLIPDISC */
NODISC(5), /* PPPDISC */
NODISC(7), /* loadable */
};
-int nlinesw = sizeof (linesw) / sizeof (linesw[0]);
+const int nlinesw = sizeof (linesw) / sizeof (linesw[0]);
static struct linesw nodisc = NODISC(0);