Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/dev Use more C99 designated initializer.
details: https://anonhg.NetBSD.org/src/rev/16bd84c89af2
branches: trunk
changeset: 1023631:16bd84c89af2
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Sep 19 11:43:54 2021 +0000
description:
Use more C99 designated initializer.
diffstat:
sys/arch/luna68k/dev/lunaws.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r e7bed3088369 -r 16bd84c89af2 sys/arch/luna68k/dev/lunaws.c
--- a/sys/arch/luna68k/dev/lunaws.c Sun Sep 19 11:37:00 2021 +0000
+++ b/sys/arch/luna68k/dev/lunaws.c Sun Sep 19 11:43:54 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lunaws.c,v 1.36 2021/09/19 07:55:17 tsutsui Exp $ */
+/* $NetBSD: lunaws.c,v 1.37 2021/09/19 11:43:54 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: lunaws.c,v 1.36 2021/09/19 07:55:17 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lunaws.c,v 1.37 2021/09/19 11:43:54 tsutsui Exp $");
#include "opt_wsdisplay_compat.h"
#include "wsmouse.h"
@@ -161,9 +161,9 @@
static void omms_disable(void *);
static const struct wsmouse_accessops omms_accessops = {
- omms_enable,
- omms_ioctl,
- omms_disable,
+ .enable = omms_enable,
+ .ioctl = omms_ioctl,
+ .disable = omms_disable,
};
#endif
Home |
Main Index |
Thread Index |
Old Index