Don't use class as a structure member.

This commit is contained in:
matt 2014-09-05 05:32:07 +00:00
parent 00f2d54cb9
commit 6a4c4a4291
1 changed files with 3 additions and 3 deletions

View File

@ -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 llc {
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 @@ struct frmrinfo {
#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