diff -r c9a86bd9e361 -r 556e4e7608b1 src/cx/common.h --- a/src/cx/common.h Wed Sep 03 23:10:36 2025 +0200 +++ b/src/cx/common.h Sat Sep 06 11:57:17 2025 +0200 @@ -131,6 +131,11 @@ #endif /** + * Inform the compiler that falling through a switch case is intentional. + */ +#define cx_attr_fallthrough __attribute__((__fallthrough__)) + +/** * All pointer arguments must be non-NULL. */ #define cx_attr_nonnull __attribute__((__nonnull__))