From 3da737ac98f6e793ed94da019e14129e873ee3f0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 10 Aug 2006 09:02:12 +0000 Subject: r7303@Kushana: nickm | 2006-08-10 01:52:19 -0700 whitespace fixes svn:r7011 --- contrib/checkSpace.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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"; -- cgit v1.2.3-54-g00ecf