Skip to content

Commit

Permalink
wrap enum in typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
poetinger committed Nov 20, 2023
1 parent 0a4488c commit cf880f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ddsc/include/dds/dds.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf880f0

Please sign in to comment.