git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
headers_check: better search for functions in headers
[pandora-kernel.git]
/
scripts
/
headers_check.pl
diff --git
a/scripts/headers_check.pl
b/scripts/headers_check.pl
index
50d6cfd
..
e0e25a1
100644
(file)
--- a/
scripts/headers_check.pl
+++ b/
scripts/headers_check.pl
@@
-64,7
+64,7
@@
sub check_include
sub check_declarations
{
- if ($line =~m/^
\s*extern
\b/) {
+ if ($line =~m/^
(\s*extern|unsigned|char|short|int|long|void)
\b/) {
printf STDERR "$filename:$lineno: " .
"userspace cannot call function or variable " .
"defined in the kernel\n";