diff options
author | 2005-07-15 21:16:40 +0000 | |
---|---|---|
committer | 2005-07-15 21:16:40 +0000 | |
commit | 0d4a25876afdeae48d290abef33e63d563592da0 (patch) | |
tree | abac94e5c5c03f6b7cbebf665bb02093d26d4f56 | |
parent | fixes 4286. (diff) | |
download | wireguard-openbsd-0d4a25876afdeae48d290abef33e63d563592da0.tar.xz wireguard-openbsd-0d4a25876afdeae48d290abef33e63d563592da0.zip |
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 >
-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; |