diff options
author | anton <anton@cvs.openbsd.org> | 2019-02-19 07:01:03 +0000 |
---|---|---|
committer | anton <anton@cvs.openbsd.org> | 2019-02-19 07:01:03 +0000 |
commit | 6633029441519b6b257e9be72fcc52ec3c69d85a (patch) | |
tree | e198c7a65e92456ecb9f43c15c35ba5328404a78 /sys/dev/wscons/wsmux.c | |
parent | a7d0baa998d8ff90176d3dd00383929ffa8308e7 (diff) |
favor C99 initializers for improved grepability; ok mpi@
Diffstat (limited to 'sys/dev/wscons/wsmux.c')
-rw-r--r-- | sys/dev/wscons/wsmux.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/wscons/wsmux.c b/sys/dev/wscons/wsmux.c index 6d49f403921..12d2519498a 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.39 2019/02/18 17:39:14 anton Exp $ */ +/* $OpenBSD: wsmux.c,v 1.40 2019/02/19 07:01:02 anton Exp $ */ /* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */ /* @@ -108,9 +108,12 @@ void wsmuxattach(int); void wsmux_detach_sc_locked(struct wsmux_softc *, struct wsevsrc *); struct wssrcops wsmux_srcops = { - WSMUX_MUX, - wsmux_mux_open, wsmux_mux_close, wsmux_do_ioctl, wsmux_do_displayioctl, - wsmux_evsrc_set_display + .type = WSMUX_MUX, + .dopen = wsmux_mux_open, + .dclose = wsmux_mux_close, + .dioctl = wsmux_do_ioctl, + .ddispioctl = wsmux_do_displayioctl, + .dsetdisplay = wsmux_evsrc_set_display, }; /* From upper level */ |