diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-08-10 09:02:12 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-08-10 09:02:12 +0000 |
commit | 3da737ac98f6e793ed94da019e14129e873ee3f0 (patch) | |
tree | 8488e77e4cbb08d9a450d3de5a1e321eeea083d6 /contrib/checkSpace.pl | |
parent | 74df271e002c19f9f1de0279de7b74d87b757a7a (diff) | |
download | tor-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-x | contrib/checkSpace.pl | 2 |
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"; |