Switch snoop device to using C99 initialization for struct linesw.
This commit is contained in:
parent
ce924bbacf
commit
66ea137d89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132133
@ -52,8 +52,14 @@ static struct cdevsw snp_cdevsw = {
|
||||
};
|
||||
|
||||
static struct linesw snpdisc = {
|
||||
ttyopen, snplclose, ttread, snplwrite,
|
||||
l_nullioctl, ttyinput, ttstart, ttymodem
|
||||
.l_open = ttyopen,
|
||||
.l_close = snplclose,
|
||||
.l_read = ttread,
|
||||
.l_write = snplwrite,
|
||||
.l_ioctl = l_nullioctl,
|
||||
.l_rint = ttyinput,
|
||||
.l_start = ttstart,
|
||||
.l_modem = ttymodem
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user