diff options
| author | Rusty Russell <trivial@rustcorp.com.au> | 2004-07-10 19:32:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-10 19:32:27 -0700 |
| commit | b6671d5abac44554e6750af634f9b7549ac5697e (patch) | |
| tree | 5cc36d8fd254891811452e3757da164006111f18 /scripts | |
| parent | 2e15f5401a0c7ae210233bdecb9c59ecfeb4e9e6 (diff) | |
[PATCH] trivial: scripts_kernel-doc: missing bracket.
From: <adobriyan@mail.ru>
Fix missing bracket when parameter to be documented is a pointer to function.
int (* resume (struct usb_interface *intf);
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a8ec38b3903c..aa7ffee63b45 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -652,7 +652,7 @@ sub output_struct_sgml(%) { $type = $args{'parametertypes'}{$parameter}; if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { # pointer-to-function - print " $1 $parameter ($2);\n"; + print " $1 $parameter) ($2);\n"; } elsif ($type =~ m/^(.*?)\s*(:.*)/) { print " $1 $parameter$2;\n"; } else { |
