diff --git a/include/bluetooth/mesh/main.h b/include/bluetooth/mesh/main.h index 5853adb7775..71fccd80ce4 100644 --- a/include/bluetooth/mesh/main.h +++ b/include/bluetooth/mesh/main.h @@ -598,9 +598,9 @@ struct bt_mesh_lpn_cb { * * @param _name Name of callback structure. */ -#define BT_MESH_LPN_CB_DEFINE(_name) \ - static const STRUCT_SECTION_ITERABLE(bt_mesh_lpn_cb, \ - _CONCAT(bt_mesh_lpn_cb, \ +#define BT_MESH_LPN_CB_DEFINE(_name) \ + static const STRUCT_SECTION_ITERABLE(bt_mesh_lpn_cb, \ + _CONCAT(bt_mesh_lpn_cb_, \ _name)) /** Friend Node callback functions. */ @@ -651,9 +651,9 @@ struct bt_mesh_friend_cb { * * @param _name Name of callback structure. */ -#define BT_MESH_FRIEND_CB_DEFINE(_name) \ - static const STRUCT_SECTION_ITERABLE(bt_mesh_friend_cb, \ - _CONCAT(bt_mesh_friend_cb, \ +#define BT_MESH_FRIEND_CB_DEFINE(_name) \ + static const STRUCT_SECTION_ITERABLE(bt_mesh_friend_cb, \ + _CONCAT(bt_mesh_friend_cb_, \ _name)) /** @brief Terminate Friendship. diff --git a/include/bluetooth/mesh/proxy.h b/include/bluetooth/mesh/proxy.h index 24d2b2713a0..3c8863f6b61 100644 --- a/include/bluetooth/mesh/proxy.h +++ b/include/bluetooth/mesh/proxy.h @@ -51,7 +51,7 @@ struct bt_mesh_proxy_cb { */ #define BT_MESH_PROXY_CB_DEFINE(_name) \ static const STRUCT_SECTION_ITERABLE( \ - bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb, _name)) + bt_mesh_proxy_cb, _CONCAT(bt_mesh_proxy_cb_, _name)) /** @brief Enable advertising with Node Identity. *