|
@@ -69,6 +69,10 @@ sub check_declarations
|
|
if ($line =~ m/^void seqbuf_dump\(void\);/) {
|
|
if ($line =~ m/^void seqbuf_dump\(void\);/) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ # drm headers are being C++ friendly
|
|
|
|
+ if ($line =~ m/^extern "C"/) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
|
|
if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) {
|
|
printf STDERR "$filename:$lineno: " .
|
|
printf STDERR "$filename:$lineno: " .
|
|
"userspace cannot reference function or " .
|
|
"userspace cannot reference function or " .
|