Rename fallthrough to zfs_fallthrough

Unfortunately macOS has obj-C keyword "fallthrough" in the OS headers.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #13097
This commit is contained in:
Jorgen Lundman
2022-02-16 01:58:59 +09:00
committed by GitHub
parent ae07fc1393
commit 9a70e97fe1
29 changed files with 44 additions and 44 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ main(int argc, char *argv[])
switch (sbuf.st_mode & S_IFMT) {
case S_IFDIR:
isdir = B_TRUE;
fallthrough;
zfs_fallthrough;
case S_IFLNK:
case S_IFCHR:
case S_IFBLK: