Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Don't use class as a structure member.
details: https://anonhg.NetBSD.org/src/rev/214b454c21aa
branches: trunk
changeset: 332020:214b454c21aa
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 05 05:32:07 2014 +0000
description:
Don't use class as a structure member.
diffstat:
sys/net/if_llc.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 186e2764c053 -r 214b454c21aa sys/net/if_llc.h
--- a/sys/net/if_llc.h Fri Sep 05 05:31:15 2014 +0000
+++ b/sys/net/if_llc.h Fri Sep 05 05:32:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_llc.h,v 1.20 2008/09/08 23:36:55 gmcgarry Exp $ */
+/* $NetBSD: if_llc.h,v 1.21 2014/09/05 05:32:07 matt Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -49,7 +49,7 @@
struct {
uint8_t control;
uint8_t format_id;
- uint8_t class;
+ uint8_t class_u;
uint8_t window_x2;
} type_u /* XXX __packed ??? */;
struct {
@@ -95,7 +95,7 @@
#define llc_control llc_un.type_u.control
#define llc_control_ext llc_un.type_raw.control_ext
#define llc_fid llc_un.type_u.format_id
-#define llc_class llc_un.type_u.class
+#define llc_class llc_un.type_u.class_u
#define llc_window llc_un.type_u.window_x2
#define llc_frmrinfo llc_un.type_frmr.frmr_rej_pdu0
#define llc_frmr_pdu0 llc_un.type_frmr.frmr_rej_pdu0
Home |
Main Index |
Thread Index |
Old Index