diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-10-11 10:22:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 20:14:24 +0200 |
commit | 32e794015aa698fd6bf1ec21b713f900a707fb15 (patch) | |
tree | 3a290d3e6d880792a6f838c68b304eaa963d7226 /scripts/kernel-doc | |
parent | [PATCH] uaccess.h: match kernel-doc and function names (diff) | |
download | linux-32e794015aa698fd6bf1ec21b713f900a707fb15.tar.xz linux-32e794015aa698fd6bf1ec21b713f900a707fb15.zip |
[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/kernel-doc')
-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($$) { $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,]*\)\)//; |