diff options
Diffstat (limited to 'scripts/headers_check.pl')
-rw-r--r-- | scripts/headers_check.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/headers_check.pl b/scripts/headers_check.pl index b62c319611a2..db30fac3083e 100644 --- a/scripts/headers_check.pl +++ b/scripts/headers_check.pl | |||
@@ -78,6 +78,9 @@ sub check_config | |||
78 | my $linux_asm_types; | 78 | my $linux_asm_types; |
79 | sub check_asm_types() | 79 | sub check_asm_types() |
80 | { | 80 | { |
81 | if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { | ||
82 | return; | ||
83 | } | ||
81 | if ($lineno == 1) { | 84 | if ($lineno == 1) { |
82 | $linux_asm_types = 0; | 85 | $linux_asm_types = 0; |
83 | } elsif ($linux_asm_types >= 1) { | 86 | } elsif ($linux_asm_types >= 1) { |
@@ -95,6 +98,9 @@ sub check_asm_types() | |||
95 | my $linux_types; | 98 | my $linux_types; |
96 | sub check_sizetypes | 99 | sub check_sizetypes |
97 | { | 100 | { |
101 | if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { | ||
102 | return; | ||
103 | } | ||
98 | if ($lineno == 1) { | 104 | if ($lineno == 1) { |
99 | $linux_types = 0; | 105 | $linux_types = 0; |
100 | } elsif ($linux_types >= 1) { | 106 | } elsif ($linux_types >= 1) { |