diff -r ba0c4ff6698e -r 26447d59a5ab src/cx/string.h --- a/src/cx/string.h Mon Aug 29 20:54:42 2022 +0200 +++ b/src/cx/string.h Tue Aug 30 19:34:22 2022 +0200 @@ -43,7 +43,7 @@ /** * The UCX string structure. */ -struct { +struct cx_mutstr_s { /** * A pointer to the string. * \note The string is not necessarily \c NULL terminated. @@ -52,7 +52,7 @@ char *ptr; /** The length of the string */ size_t length; -} cx_mutstr_s; +}; /** * A mutable string. @@ -62,7 +62,7 @@ /** * The UCX string structure for immutable (constant) strings. */ -struct { +struct cx_string_s { /** * A pointer to the immutable string. * \note The string is not necessarily \c NULL terminated. @@ -71,7 +71,7 @@ char const *ptr; /** The length of the string */ size_t length; -} cx_string_s; +}; /** * An immutable string.