diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-10-11 04:22:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 14:14:24 -0400 |
commit | 32e794015aa698fd6bf1ec21b713f900a707fb15 (patch) | |
tree | 3a290d3e6d880792a6f838c68b304eaa963d7226 /scripts | |
parent | 9c7fff6ef36526fb54694ee8201870f98b6a1747 (diff) |
[PATCH] kernel-doc: drop various "inline" qualifiers
Drop __inline, __always_inline, and noinline in the produced kernel-doc
output, similar to other pseudo directives.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 00d1ad19b2cc..7bc53a94faa9 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -1518,6 +1518,9 @@ sub dump_function($$) { | |||
1518 | $prototype =~ s/^asmlinkage +//; | 1518 | $prototype =~ s/^asmlinkage +//; |
1519 | $prototype =~ s/^inline +//; | 1519 | $prototype =~ s/^inline +//; |
1520 | $prototype =~ s/^__inline__ +//; | 1520 | $prototype =~ s/^__inline__ +//; |
1521 | $prototype =~ s/^__inline +//; | ||
1522 | $prototype =~ s/^__always_inline +//; | ||
1523 | $prototype =~ s/^noinline +//; | ||
1521 | $prototype =~ s/__devinit +//; | 1524 | $prototype =~ s/__devinit +//; |
1522 | $prototype =~ s/^#define +//; #ak added | 1525 | $prototype =~ s/^#define +//; #ak added |
1523 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; | 1526 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; |