Bluetooth: Mesh: Add prefix bt_mesh_
for global variable
Some variables shadow global, which is difficult to handle when porting to other platforms with shadow warnings turned on. https://github.com/zephyrproject-rtos/zephyr/pull/50581 Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
parent
c0bcff120e
commit
83d129bc15
6 changed files with 31 additions and 29 deletions
|
@ -104,11 +104,11 @@ struct prov_bearer {
|
|||
void (*link_close)(enum prov_bearer_link_status status);
|
||||
};
|
||||
|
||||
extern const struct prov_bearer pb_adv;
|
||||
extern const struct prov_bearer pb_gatt;
|
||||
extern const struct prov_bearer bt_mesh_pb_adv;
|
||||
extern const struct prov_bearer bt_mesh_pb_gatt;
|
||||
|
||||
void pb_adv_init(void);
|
||||
void pb_gatt_init(void);
|
||||
void bt_mesh_pb_adv_init(void);
|
||||
void bt_mesh_pb_gatt_init(void);
|
||||
|
||||
void pb_adv_reset(void);
|
||||
void pb_gatt_reset(void);
|
||||
void bt_mesh_pb_adv_reset(void);
|
||||
void bt_mesh_pb_gatt_reset(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue