summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-06-09 14:49:57 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-06-09 14:55:45 -0400
commit7b5d98877622f2bea24c9dd745dfcf312df31a87 (patch)
treebbb03b5e7663bf0c24aaf8cfc95741d9bf98cb0c /printf.c
parent41c148c4bf835fca788e6990cb8ea8651bb55927 (diff)
downloadbfs-7b5d98877622f2bea24c9dd745dfcf312df31a87.tar.xz
util: Rename fallthrough to BFS_FALLTHROUGH
This avoids shadowing the actually standard name fallthrough.
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 26c19a7..b1b0d59 100644
--- a/printf.c
+++ b/printf.c
@@ -630,7 +630,7 @@ struct bfs_printf *bfs_printf_parse(const struct bfs_ctx *ctx, const char *forma
case '0':
case '+':
must_be_numeric = true;
- fallthrough;
+ BFS_FALLTHROUGH;
case ' ':
case '-':
if (strchr(directive->str, c)) {