Bluetooth: Fix misused forward declaration
Instead of struct forward declaration there should be used struct type with at least empty body. Otherwise compiler doesn't know the size of variable of that type used later and emits error. Change-Id: Ie0643ed92b8eb95c1d55c9295117a2a9b8cc95cc Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
parent
2ebf636fe2
commit
1b66376a61
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ struct bt_conn_le_info {
|
|||
|
||||
#if defined(CONFIG_BLUETOOTH_BREDR)
|
||||
/** BR/EDR Connection Info Structure */
|
||||
struct bt_conn_br_info;
|
||||
struct bt_conn_br_info {};
|
||||
#endif
|
||||
|
||||
/** Connection Info Structure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue