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:
Arkadiusz Lichwa 2015-12-01 16:33:01 +02:00 committed by Anas Nashif
commit 1b66376a61

View file

@ -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 */