diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-07-15 21:16:41 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-07-15 21:16:41 +0000 |
commit | bd54272c4f8d4d8f7eeca6c1ac9af34c181d595d (patch) | |
tree | 838ecb254d8494cc7a9a4fc501e4b70218a5eaac /sys/netbt | |
parent | cf46d8a1d0e26dce84293741e14ab770cbd386df (diff) |
From FreeBSD netgraph/bluetooth/include/ng_hci.h rev. 1.5:
Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure.
class is a reserved word in C++
Submitted by: Markus Brueffer < markus AT brueffer DOT de >
Diffstat (limited to 'sys/netbt')
-rw-r--r-- | sys/netbt/hci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netbt/hci.h b/sys/netbt/hci.h index dc6897aca9f..7ac3143fea6 100644 --- a/sys/netbt/hci.h +++ b/sys/netbt/hci.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hci.h,v 1.2 2005/01/17 18:12:49 mickey Exp $ */ +/* $OpenBSD: hci.h,v 1.3 2005/07/15 21:16:40 grange Exp $ */ /* * ng_hci.h @@ -1445,7 +1445,7 @@ typedef struct { u_int8_t page_scan_rep_mode; /* page scan rep. mode */ u_int8_t page_scan_period_mode; /* page scan period mode */ u_int8_t page_scan_mode; /* page scan mode */ - u_int8_t class[NG_HCI_CLASS_SIZE]; /* unit class */ + u_int8_t uclass[NG_HCI_CLASS_SIZE]; /* unit class */ u_int16_t clock_offset; /* clock offset */ } __attribute__ ((packed)) ng_hci_inquiry_response; |