From 9a70e97fe14addacdc4139fd0ae4bce1c3344456 Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Wed, 16 Feb 2022 01:58:59 +0900 Subject: Rename fallthrough to zfs_fallthrough Unfortunately macOS has obj-C keyword "fallthrough" in the OS headers. Reviewed-by: Brian Behlendorf Reviewed-by: Damian Szuberski Signed-off-by: Jorgen Lundman Closes #13097 --- module/lua/lstrlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/lua/lstrlib.c') 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; -- cgit v1.2.3