diff --git a/lib/checksrc.pl b/lib/checksrc.pl index 2eff3e0cf..b9fa9362f 100755 --- a/lib/checksrc.pl +++ b/lib/checksrc.pl @@ -345,6 +345,9 @@ sub scanfile { elsif($3 eq "return") { # return must have a space } + elsif($3 eq "case") { + # case must have a space + } elsif($4 eq "*") { # (* beginning makes the space OK! }