Skip to content

Commit 192ccce

Browse files
tpennorsm-alperen-sener
authored andcommitted
[nrf fromtree] Bluetooth: fix old-style warning gcc
fix GCC warning old-style-declaration on bluetooth host/att.c Signed-off-by: PENNORS Thomas <[email protected]> (cherry picked from commit 5165c91)
1 parent fd177ca commit 192ccce

File tree

1 file changed

+1
-1
lines changed
  • subsys/bluetooth/host

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/att.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static uint16_t bt_att_mtu(struct bt_att_chan *chan)
133133
/* Descriptor of application-specific authorization callbacks that are used
134134
* with the CONFIG_BT_GATT_AUTHORIZATION_CUSTOM Kconfig enabled.
135135
*/
136-
const static struct bt_gatt_authorization_cb *authorization_cb;
136+
static const struct bt_gatt_authorization_cb *authorization_cb;
137137

138138
/* ATT connection specific data */
139139
struct bt_att {

0 commit comments

Comments
 (0)