From 2ad0c90e87ae8a8bb155007eea67cedd651caf5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Casper=20J=C3=B8rgensen?= Date: Tue, 29 Aug 2023 15:53:49 +0200 Subject: [PATCH] mgmt: mcumgr: smp_dummy: Add missing conditional end bracket MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compiling smp_dummy.h for C++ is currently not possible due to a missing end curly bracket. This commit add the missing end bracket on the same condition as the start bracket is included. Signed-off-by: Casper Jørgensen --- include/zephyr/mgmt/mcumgr/transport/smp_dummy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/zephyr/mgmt/mcumgr/transport/smp_dummy.h b/include/zephyr/mgmt/mcumgr/transport/smp_dummy.h index b0c762fa5eb..02e974ea8aa 100644 --- a/include/zephyr/mgmt/mcumgr/transport/smp_dummy.h +++ b/include/zephyr/mgmt/mcumgr/transport/smp_dummy.h @@ -98,4 +98,8 @@ void smp_dummy_disable(void); */ bool smp_dummy_get_status(void); +#ifdef __cplusplus +} +#endif + #endif /* ZEPHYR_INCLUDE_MGMT_MCUMGR_TRANSPORT_DUMMY_H_ */