diff options
author | Jorgen Lundman <[email protected]> | 2022-02-16 01:58:59 +0900 |
---|---|---|
committer | GitHub <[email protected]> | 2022-02-15 08:58:59 -0800 |
commit | 9a70e97fe14addacdc4139fd0ae4bce1c3344456 (patch) | |
tree | 25eab04b16e2018fa68e09951f405c5484b1a669 /module/lua/lstrlib.c | |
parent | ae07fc1393062507b62d9d475e57393be590e432 (diff) |
Rename fallthrough to zfs_fallthrough
Unfortunately macOS has obj-C keyword "fallthrough" in the OS headers.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Damian Szuberski <[email protected]>
Signed-off-by: Jorgen Lundman <[email protected]>
Closes #13097
Diffstat (limited to 'module/lua/lstrlib.c')
-rw-r--r-- | module/lua/lstrlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/lua/lstrlib.c b/module/lua/lstrlib.c index a2e4084e9..902cc773e 100644 --- a/module/lua/lstrlib.c +++ b/module/lua/lstrlib.c @@ -500,7 +500,7 @@ static const char *match (MatchState *ms, const char *s, const char *p) { } case '+': /* 1 or more repetitions */ s++; /* 1 match already done */ - fallthrough; + zfs_fallthrough; case '*': /* 0 or more repetitions */ s = max_expand(ms, s, p, ep); break; |