diff --git a/subsys/bluetooth/host/keys.h b/subsys/bluetooth/host/keys.h index 185fd610e779..8857ec6355cf 100644 --- a/subsys/bluetooth/host/keys.h +++ b/subsys/bluetooth/host/keys.h @@ -19,6 +19,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** @cond INTERNAL_HIDDEN */ enum bt_keys_type { @@ -249,4 +253,8 @@ void bt_keys_show_sniffer_info(struct bt_keys *keys, void *data); /** @endcond */ +#ifdef __cplusplus +} +#endif + #endif /* ZEPHYR_SUBSYS_BLUETOOTH_HOST_KEYS_H_ */