mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
checkSpace.pl: Allow 'bool' before a space and an open-paren
We need this so we can declare function pointers returning bool without upsetting our style checker. :/
This commit is contained in:
parent
aec359ef62
commit
81d16d8d0c
@ -177,7 +177,7 @@ for my $fn (@ARGV) {
|
|||||||
$1 ne "elsif" and $1 ne "WINAPI" and $2 ne "WINAPI" and
|
$1 ne "elsif" and $1 ne "WINAPI" and $2 ne "WINAPI" and
|
||||||
$1 ne "void" and $1 ne "__attribute__" and $1 ne "op" and
|
$1 ne "void" and $1 ne "__attribute__" and $1 ne "op" and
|
||||||
$1 ne "size_t" and $1 ne "double" and $1 ne "uint64_t" and
|
$1 ne "size_t" and $1 ne "double" and $1 ne "uint64_t" and
|
||||||
$1 ne "workqueue_reply_t") {
|
$1 ne "workqueue_reply_t" and $1 ne "bool") {
|
||||||
msg " fn ():$fn:$.\n";
|
msg " fn ():$fn:$.\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user