diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-05-10 15:44:59 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-05-10 15:44:59 -0400 |
commit | 87d8d5928325f951f40b5f87292a17586b85943b (patch) | |
tree | fdfab308274a7046444a8a238baa274153031c12 /src/config.h | |
parent | 2d6d2f2cf838dc459bc1ef27476a26af5d82a53f (diff) | |
download | bfs-87d8d5928325f951f40b5f87292a17586b85943b.tar.xz |
config: s/BFS_FALLTHROUGH/fallthru/
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index b9f2638..229bafb 100644 --- a/src/config.h +++ b/src/config.h @@ -173,11 +173,11 @@ * Silence compiler warnings about switch/case fall-throughs. */ #if __has_c_attribute(fallthrough) -# define BFS_FALLTHROUGH [[fallthrough]] +# define fallthru [[fallthrough]] #elif __has_attribute(fallthrough) -# define BFS_FALLTHROUGH __attribute__((fallthrough)) +# define fallthru __attribute__((fallthrough)) #else -# define BFS_FALLTHROUGH ((void)0) +# define fallthru ((void)0) #endif /** |