Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47580
b: refs/heads/master
c: 996a07b
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Feb 11, 2007
1 parent e17b2da commit 9a59bfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 78831ba68263d37382d61ea87d738975d992bd0d
refs/heads/master: 996a07bcb62c5935248e238a1150089f3d99a6fb
4 changes: 2 additions & 2 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ sub create_parameterlist($$$) {
} elsif ($arg =~ m/\(.*\*/) {
# pointer-to-function
$arg =~ tr/#/,/;
$arg =~ m/[^\(]+\(\*([^\)]+)\)/;
$arg =~ m/[^\(]+\(\*\s*([^\)]+)\)/;
$param = $1;
$type = $arg;
$type =~ s/([^\(]+\(\*)$param/$1/;
Expand Down Expand Up @@ -1536,7 +1536,7 @@ sub dump_function($$) {
$prototype =~ s/^__always_inline +//;
$prototype =~ s/^noinline +//;
$prototype =~ s/__devinit +//;
$prototype =~ s/^#define +//; #ak added
$prototype =~ s/^#define\s+//; #ak added
$prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;

# Yes, this truly is vile. We are looking for:
Expand Down

0 comments on commit 9a59bfd

Please sign in to comment.