Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ieee1394 convert union member from [0] array to [3] ...
details: https://anonhg.NetBSD.org/src/rev/6636c6e4cd76
branches: trunk
changeset: 961579:6636c6e4cd76
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Apr 12 09:22:21 2021 +0000
description:
convert union member from [0] array to [3] array, so that attempts
to access these members later will work.
does not affect size of the structure or layout in any other way.
diffstat:
sys/dev/ieee1394/firewire.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e2e8c3413aae -r 6636c6e4cd76 sys/dev/ieee1394/firewire.h
--- a/sys/dev/ieee1394/firewire.h Mon Apr 12 09:19:10 2021 +0000
+++ b/sys/dev/ieee1394/firewire.h Mon Apr 12 09:22:21 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: firewire.h,v 1.6 2010/11/14 15:47:20 uebayasi Exp $ */
+/* $NetBSD: firewire.h,v 1.7 2021/04/12 09:22:21 mrg Exp $ */
/*-
* Copyright (c) 2003 Hidetoshi Shimokawa
* Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
@@ -142,7 +142,7 @@
struct fw_pkt {
union {
- uint32_t ld[0];
+ uint32_t ld[3];
struct {
COMMON_HDR(, , tcode, );
} common;
Home |
Main Index |
Thread Index |
Old Index