summaryrefslogtreecommitdiff
path: root/scripts/maint/checkSpace.pl
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-11-04 22:40:24 -0800
committerAndrea Shepard <andrea@torproject.org>2014-09-30 22:49:02 -0700
commit7674308f622904bc5a4cff5e7cb4d0f22fbf84d7 (patch)
tree6b62e104a4d87a1aa463a789c7735545fe80120b /scripts/maint/checkSpace.pl
parent5e0a6d54d0f1341eddc26a6fa6d349e22966c255 (diff)
downloadtor-7674308f622904bc5a4cff5e7cb4d0f22fbf84d7.tar.gz
tor-7674308f622904bc5a4cff5e7cb4d0f22fbf84d7.zip
Make 'make check-spaces' not complain about function pointers returning size_t or double
Diffstat (limited to 'scripts/maint/checkSpace.pl')
-rwxr-xr-xscripts/maint/checkSpace.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl
index b529103367..c785d89567 100755
--- a/scripts/maint/checkSpace.pl
+++ b/scripts/maint/checkSpace.pl
@@ -128,7 +128,8 @@ for $fn (@ARGV) {
if ($1 ne "if" and $1 ne "while" and $1 ne "for" and
$1 ne "switch" and $1 ne "return" and $1 ne "int" and
$1 ne "elsif" and $1 ne "WINAPI" and $2 ne "WINAPI" and
- $1 ne "void" and $1 ne "__attribute__" and $1 ne "op") {
+ $1 ne "void" and $1 ne "__attribute__" and $1 ne "op" and
+ $1 ne "size_t" and $1 ne "double") {
print " fn ():$fn:$.\n";
}
}