Bluetooth: fix C++ linker errors
Add missing header guards. Signed-off-by: Rihards Skuja <rihardssk@mikrotik.com>
This commit is contained in:
parent
f87135bbee
commit
26beb415a5
1 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,10 @@
|
|||
#include <bluetooth/hci.h>
|
||||
#include <sys/util.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** Possible types of buffers passed around the Bluetooth stack */
|
||||
enum bt_buf_type {
|
||||
/** HCI command */
|
||||
|
@ -155,4 +159,8 @@ static inline enum bt_buf_type bt_buf_get_type(struct net_buf *buf)
|
|||
* @}
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_INCLUDE_BLUETOOTH_BUF_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue