Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199553
b: refs/heads/master
c: dbbe33e
h: refs/heads/master
i:
  199551: b1317a4
v: v3
  • Loading branch information
Stephen Hemminger authored and Michal Marek committed Mar 7, 2010
1 parent f1e3a06 commit b18bcae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91416cfdf98bdbc828fd3e5ca7208beba5979d63
refs/heads/master: dbbe33e99f41a6f07e61dbce455964112d8ac72b
11 changes: 6 additions & 5 deletions trunk/scripts/headers_check.pl
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@
my $filename;

foreach my $file (@files) {
local *FH;
$filename = $file;
open(FH, "<$filename") or die "$filename: $!\n";

open(my $fh, '<', $filename)
or die "$filename: $!\n";
$lineno = 0;
while ($line = <FH>) {
while ($line = <$fh>) {
$lineno++;
&check_include();
&check_asm_types();
&check_sizetypes();
&check_declarations();
# Dropped for now. Too much noise &check_config();
}
close FH;
close $fh;
}
exit $ret;

Expand Down Expand Up @@ -78,7 +79,7 @@ sub check_config
}

my $linux_asm_types;
sub check_asm_types()
sub check_asm_types
{
if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) {
return;
Expand Down

0 comments on commit b18bcae

Please sign in to comment.