diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-06-15 12:54:44 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-06-15 12:57:55 +0200 |
commit | e4308ac7832e365ed15ac19629455d7ea1cf8131 (patch) | |
tree | 3530b7ab165faef30d2e06e8aab73824942f5f0f /src/fundamental/macro-fundamental.h | |
parent | Merge pull request #33037 from keszybz/dlopen-open-code-definitions (diff) | |
download | systemd-e4308ac7832e365ed15ac19629455d7ea1cf8131.tar.xz systemd-e4308ac7832e365ed15ac19629455d7ea1cf8131.zip |
macro-fundamental: correct comment and remove trailing ';' for macro
Follow-up for 3c2f2146f50c75662987541719bedc4aee9df939
Diffstat (limited to '')
-rw-r--r-- | src/fundamental/macro-fundamental.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fundamental/macro-fundamental.h b/src/fundamental/macro-fundamental.h index 8aca5f784a..bbfdcdb218 100644 --- a/src/fundamental/macro-fundamental.h +++ b/src/fundamental/macro-fundamental.h @@ -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 |