diff options
author | Shawn Landden <slandden@gmail.com> | 2017-11-19 10:06:10 -0800 |
---|---|---|
committer | Shawn Landden <slandden@gmail.com> | 2017-11-20 13:06:25 -0800 |
commit | 4831981d89c628606c825779c75afb03b4839618 (patch) | |
tree | 7e35cbb6e0f1fedb3e543dc14d9ac2553e8ed39e /src/basic/macro.h | |
parent | d8bd96ab54ab60de5b12aa767eeea94a4cca685c (diff) | |
download | systemd-4831981d89c628606c825779c75afb03b4839618.tar.gz |
tree-wide: adjust fall through comments so that gcc is happy
Distcc removes comments, making the comment silencing
not work.
I know there was a decision against a macro in commit
ec251fe7d5bc24b5d38b0853bc5969f3a0ba06e2
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r-- | src/basic/macro.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h index 13652fb94d..2c6e46b6c8 100644 --- a/src/basic/macro.h +++ b/src/basic/macro.h @@ -48,6 +48,7 @@ #define _weakref_(x) __attribute__((weakref(#x))) #define _alignas_(x) __attribute__((aligned(__alignof(x)))) #define _cleanup_(x) __attribute__((cleanup(x))) +#define _fallthrough_ __attribute__((fallthrough)) /* Temporarily disable some warnings */ #define DISABLE_WARNING_DECLARATION_AFTER_STATEMENT \ |