Ondřej Surý and Ondřej Surý
673e53f81d
Add FALLTHROUGH macro for __attribute__((fallthrough))
...
Gcc 7+ and Clang 10+ have implemented __attribute__((fallthrough)) which
is explicit version of the /* FALLTHROUGH */ comment we are currently
using.
Add and apply FALLTHROUGH macro that uses the attribute if available,
but does nothing on older compilers.
In one case (lib/dns/zone.c), using the macro revealed that we were
using the /* FALLTHROUGH */ comment in wrong place, remove that comment.
(cherry picked from commit fe7ce629f4 )
2022-03-25 09:30:16 +01:00
..
2022-03-25 09:30:16 +01:00
2022-03-25 09:30:16 +01:00
2022-02-09 18:09:48 +01:00
2022-03-17 21:44:04 +01:00
2022-03-25 09:30:16 +01:00
2022-03-25 09:30:16 +01:00
2022-03-02 09:31:50 +00:00
2022-03-17 21:44:04 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-08 20:49:15 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-08 20:20:52 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-17 21:44:04 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-02-10 21:22:46 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-08 20:49:15 +01:00
2022-01-11 12:22:09 +01:00
2022-03-17 21:44:04 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-03-25 09:30:16 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00
2022-01-11 12:22:09 +01:00