From 20b3dd5e3c63554a88bdbfa964649aeab91ddff3 Mon Sep 17 00:00:00 2001 From: Rubin Gerritsen Date: Wed, 12 Nov 2025 17:09:02 +0100 Subject: [PATCH] [nrf noup] Bluetooth: Temporarily add C++ over internal header file This unblocks a specific use case where this header file is included. Signed-off-by: Rubin Gerritsen --- subsys/bluetooth/host/keys.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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_ */