From cf880f0bd28b3e2e02af45fed46104664dcf8c30 Mon Sep 17 00:00:00 2001 From: Philip Oetinger Date: Mon, 20 Nov 2023 11:38:38 +0100 Subject: [PATCH] wrap enum in typedef --- src/core/ddsc/include/dds/dds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ddsc/include/dds/dds.h b/src/core/ddsc/include/dds/dds.h index 908ac71feb..27aeb79dba 100644 --- a/src/core/ddsc/include/dds/dds.h +++ b/src/core/ddsc/include/dds/dds.h @@ -1105,10 +1105,10 @@ dds_create_domain_with_rawconfig(const dds_domainid_t domain, const struct ddsi_ /// @brief Supported lifecycle states /// @ingroup domain -enum dds_domain_lifecycle{ +typedef enum dds_domain_lifecycle{ DDS_DOMAIN_LIFECYCLE_INITIALISATION, DDS_DOMAIN_LIFECYCLE_OPERATIONAL -}; +} dds_domain_lifecycle_t; /// @brief Function to indicate where we are in the domain's lifecycle /// @note Domains starts out in the INITIALISATION