Convert SLIP to using C99 structure initialization for its struct

linesw.
This commit is contained in:
Robert Watson 2004-07-14 05:01:40 +00:00
parent 2ec394f605
commit efe0ab01b2

View File

@ -185,8 +185,14 @@ static int sloutput(struct ifnet *,
static int slstart(struct tty *);
static struct linesw slipdisc = {
slopen, slclose, l_noread, l_nowrite,
sltioctl, slinput, slstart, ttymodem
.l_open = slopen,
.l_close = slclose,
.l_read = l_noread,
.l_write = l_nowrite,
.l_ioctl = sltioctl,
.l_rint = slinput,
.l_start = slstart,
.l_modem = ttymodem
};
/*