diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-10-11 01:22:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 11:14:24 -0700 |
commit | 32e794015aa698fd6bf1ec21b713f900a707fb15 (patch) | |
tree | 3a290d3e6d880792a6f838c68b304eaa963d7226 | |
parent | 9c7fff6ef36526fb54694ee8201870f98b6a1747 (diff) | |
download | op-kernel-dev-32e794015aa698fd6bf1ec21b713f900a707fb15.zip op-kernel-dev-32e794015aa698fd6bf1ec21b713f900a707fb15.tar.gz |
[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>
-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 00d1ad1..7bc53a9 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1518,6 +1518,9 @@ sub dump_function($$) { $prototype =~ s/^asmlinkage +//; $prototype =~ s/^inline +//; $prototype =~ s/^__inline__ +//; + $prototype =~ s/^__inline +//; + $prototype =~ s/^__always_inline +//; + $prototype =~ s/^noinline +//; $prototype =~ s/__devinit +//; $prototype =~ s/^#define +//; #ak added $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; |