diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-08-09 12:39:22 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-08-09 12:39:22 -0400 |
commit | 9c74802117d97bdb55be08a954319e1b8733cb9d (patch) | |
tree | b0d4f08d6d50e09a7085c6008fa7ad554e077fe2 /src/prelude.h | |
parent | e747c913adee1ae915509985dbd5025018037336 (diff) | |
download | bfs-9c74802117d97bdb55be08a954319e1b8733cb9d.tar.xz |
prelude: s/fallthru/_fallthrough/ for consistency with other attributes
Diffstat (limited to 'src/prelude.h')
-rw-r--r-- | src/prelude.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prelude.h b/src/prelude.h index 24de309..abf3564 100644 --- a/src/prelude.h +++ b/src/prelude.h @@ -174,9 +174,9 @@ extern const char bfs_ldlibs[]; * Silence warnings about switch/case fall-throughs. */ #if __has_attribute(fallthrough) -# define fallthru __attribute__((fallthrough)) +# define _fallthrough __attribute__((fallthrough)) #else -# define fallthru ((void)0) +# define _fallthrough ((void)0) #endif /** |