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/wskbd.c | |
parent | a7d0baa998d8ff90176d3dd00383929ffa8308e7 (diff) |
favor C99 initializers for improved grepability; ok mpi@
Diffstat (limited to 'sys/dev/wscons/wskbd.c')
-rw-r--r-- | sys/dev/wscons/wskbd.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index f53a2abd367..49a08976c3a 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbd.c,v 1.95 2019/02/01 07:02:31 anton Exp $ */ +/* $OpenBSD: wskbd.c,v 1.96 2019/02/19 07:01:02 anton Exp $ */ /* $NetBSD: wskbd.c,v 1.80 2005/05/04 01:52:16 augustss Exp $ */ /* @@ -279,13 +279,15 @@ struct wskbd_keyrepeat_data wskbd_default_keyrepeat_data = { #if NWSMUX > 0 || NWSDISPLAY > 0 struct wssrcops wskbd_srcops = { - WSMUX_KBD, - wskbd_mux_open, wskbd_mux_close, wskbd_do_ioctl, - wskbd_displayioctl, + .type = WSMUX_KBD, + .dopen = wskbd_mux_open, + .dclose = wskbd_mux_close, + .dioctl = wskbd_do_ioctl, + .ddispioctl = wskbd_displayioctl, #if NWSDISPLAY > 0 - wskbd_set_display + .dsetdisplay = wskbd_set_display, #else - NULL + .dsetdisplay = NULL, #endif }; #endif |