aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-25 08:47:48 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:07 -0400
commit232acbcf5304c29f5bb03b0dddeaefd0f98ef45e (patch)
treea5ddf8cf470c25d00dba942003a20625b02a68f2 /scripts
parent05189497d10c715bf41c05fb2fd89aa2cf7602f1 (diff)
[PATCH] kernel-doc: script cleanups
Fix indentation. Quote a brace '{' so that vi won't be fooled by it. 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-xscripts/kernel-doc4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index fc0835bf65e2..21f2f3fee745 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1779,7 +1779,7 @@ sub process_file($) {
1779 $prototype = ""; 1779 $prototype = "";
1780 $state = 3; 1780 $state = 3;
1781 $brcount = 0; 1781 $brcount = 0;
1782# print STDERR "end of doc comment, looking for prototype\n"; 1782# print STDERR "end of doc comment, looking for prototype\n";
1783 } elsif (/$doc_content/) { 1783 } elsif (/$doc_content/) {
1784 # miguel-style comment kludge, look for blank lines after 1784 # miguel-style comment kludge, look for blank lines after
1785 # @parameter line to signify start of description 1785 # @parameter line to signify start of description
@@ -1796,7 +1796,7 @@ sub process_file($) {
1796 print STDERR "Warning(${file}:$.): bad line: $_"; 1796 print STDERR "Warning(${file}:$.): bad line: $_";
1797 ++$warnings; 1797 ++$warnings;
1798 } 1798 }
1799 } elsif ($state == 3) { # scanning for function { (end of prototype) 1799 } elsif ($state == 3) { # scanning for function '{' (end of prototype)
1800 if ($decl_type eq 'function') { 1800 if ($decl_type eq 'function') {
1801 process_state3_function($_, $file); 1801 process_state3_function($_, $file);
1802 } else { 1802 } else {