aboutsummaryrefslogtreecommitdiff
path: root/contrib/checkSpace.pl
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-08-10 09:02:12 +0000
committerNick Mathewson <nickm@torproject.org>2006-08-10 09:02:12 +0000
commit3da737ac98f6e793ed94da019e14129e873ee3f0 (patch)
tree8488e77e4cbb08d9a450d3de5a1e321eeea083d6 /contrib/checkSpace.pl
parent74df271e002c19f9f1de0279de7b74d87b757a7a (diff)
downloadtor-3da737ac98f6e793ed94da019e14129e873ee3f0.tar.gz
tor-3da737ac98f6e793ed94da019e14129e873ee3f0.zip
r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700
whitespace fixes svn:r7011
Diffstat (limited to 'contrib/checkSpace.pl')
-rwxr-xr-xcontrib/checkSpace.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/checkSpace.pl b/contrib/checkSpace.pl
index ae88e464f7..aff96861a9 100755
--- a/contrib/checkSpace.pl
+++ b/contrib/checkSpace.pl
@@ -91,7 +91,7 @@ for $fn (@ARGV) {
## Warn about functions not declared at start of line.
if ($in_func_head ||
($fn !~ /\.h$/ && /^[a-zA-Z0-9_]/ &&
- ! /^(?:static )?(?:typedef|struct|union)[^\(]*$/ &&
+ ! /^(?:const |static )*(?:typedef|struct|union)[^\(]*$/ &&
! /= *\{$/ && ! /;$/)) {
if (/.\{$/){
print "fn() {:$fn:$.\n";