From 40a62f61e887026ba04d8c7fe77f967cfd134d48 Mon Sep 17 00:00:00 2001 From: Eric Wolz Date: Thu, 7 Dec 2023 10:51:39 -0800 Subject: [PATCH] add extern "C" to iothub_client_properties.h (#2548) --- iothub_client/inc/iothub_client_properties.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iothub_client/inc/iothub_client_properties.h b/iothub_client/inc/iothub_client_properties.h index 782e166a26..c6e701fa0d 100644 --- a/iothub_client/inc/iothub_client_properties.h +++ b/iothub_client/inc/iothub_client_properties.h @@ -66,6 +66,11 @@ #include "iothub_client_core_common.h" +#ifdef __cplusplus +extern "C" +{ +#endif + /** @brief Current version of @p IOTHUB_CLIENT_PROPERTY_REPORTED structure. */ #define IOTHUB_CLIENT_PROPERTY_REPORTED_STRUCT_VERSION_1 1 @@ -289,4 +294,8 @@ MOCKABLE_FUNCTION(, void, IoTHubClient_Properties_DeserializerProperty_Destroy, */ MOCKABLE_FUNCTION(, void, IoTHubClient_Properties_Deserializer_Destroy, IOTHUB_CLIENT_PROPERTIES_DESERIALIZER_HANDLE, propertiesDeserializerHandle); +#ifdef __cplusplus +} +#endif + #endif /* IOTHUB_CLIENT_PROPERTIES_H */