1
0
mirror of https://github.com/systemd/systemd synced 2024-07-01 07:34:28 +00:00

macro-fundamental: correct comment and remove trailing ';' for macro

Follow-up for 3c2f2146f5
This commit is contained in:
Mike Yuan 2024-06-15 12:54:44 +02:00
parent 609bc3ae16
commit e4308ac783
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -517,9 +517,9 @@ static inline uint64_t ALIGN_OFFSET_U64(uint64_t l, uint64_t ali) {
} \
}
/* Restriction/bug (see above) was fixed in GCC 15 and clang 19.*/
/* Restriction/bug (see below) was fixed in GCC 15 and clang 19. */
#if __GNUC__ >= 15 || (defined(__clang__) && __clang_major__ >= 19)
#define DECLARE_FLEX_ARRAY(type, name) type name[];
#define DECLARE_FLEX_ARRAY(type, name) type name[]
#else
/* Declare a flexible array usable in a union.
* This is essentially a work-around for a pointless constraint in C99