projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel-doc: drop looking for "MACDOC"
[linux-2.6-block.git]
/
scripts
/
kernel-doc
diff --git
a/scripts/kernel-doc
b/scripts/kernel-doc
index 4277af79de86592297d0e4fb57956030213dcb42..915e7bd97486ed750b2ca728a35dfd4656d01e30 100755
(executable)
--- a/
scripts/kernel-doc
+++ b/
scripts/kernel-doc
@@
-1907,7
+1907,7
@@
sub process_proto_function($$) {
$x =~ s@\/\/.*$@@gos; # strip C99-style comments to end of line
- if ($x =~
m#\s*/\*\s+MACDOC\s*#io || ($x =~ /^#/ && $x !~ /^#\s*define/)
) {
+ if ($x =~
/^#/ && $x !~ /^#\s*define/
) {
# do nothing
}
elsif ($x =~ /([^\{]*)/) {