diff options
author | Mike Yuan <me@yhndnzj.com> | 2025-01-15 19:16:06 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2025-01-16 02:26:56 +0100 |
commit | 347eb8fbe3cfb5960995c86cd91065a37552ab6f (patch) | |
tree | acca80155d9af9584781abaca597e2d379de4756 /src/network | |
parent | Revert "OBS: build Fedora/Debian/Ubuntu x86_64 packages on PRs" (diff) | |
download | systemd-347eb8fbe3cfb5960995c86cd91065a37552ab6f.tar.xz systemd-347eb8fbe3cfb5960995c86cd91065a37552ab6f.zip |
tree-wide: remove unnecessary gcc >= 7 version check
Our baseline is gcc 8.4.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/netdev/netdev-gperf.gperf | 2 | ||||
-rw-r--r-- | src/network/networkd-gperf.gperf | 2 | ||||
-rw-r--r-- | src/network/networkd-network-gperf.gperf | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/network/netdev/netdev-gperf.gperf b/src/network/netdev/netdev-gperf.gperf index be010665c5..5cef68caa1 100644 --- a/src/network/netdev/netdev-gperf.gperf +++ b/src/network/netdev/netdev-gperf.gperf @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ %{ -#if __GNUC__ >= 7 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") -#endif #include <stddef.h> #include "bareudp.h" #include "batadv.h" diff --git a/src/network/networkd-gperf.gperf b/src/network/networkd-gperf.gperf index 21e8d12690..e2b84f1384 100644 --- a/src/network/networkd-gperf.gperf +++ b/src/network/networkd-gperf.gperf @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ %{ -#if __GNUC__ >= 7 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") -#endif #include <stddef.h> #include "conf-parser.h" #include "networkd-address-label.h" diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index dc462b690c..891a96cc60 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ %{ -#if __GNUC__ >= 7 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") -#endif #include <netinet/icmp6.h> #include <stddef.h> |