Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39364
b: refs/heads/master
c: 2720574
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Oct 11, 2006
1 parent 5ae9aae commit 8167caf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c751c1dbb1289d220a8a175ba0df47706ce95a7e
refs/heads/master: 272057447f646c51bc77c60044eb21c683fa366d
12 changes: 7 additions & 5 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,9 @@ sub output_intro_text(%) {
}

##
# generic output function for typedefs
# generic output function for all types (function, struct/union, typedef, enum);
# calls the generated, variable output_ function name based on
# functype and output_mode
sub output_declaration {
no strict 'refs';
my $name = shift;
Expand All @@ -1278,8 +1280,7 @@ sub output_declaration {
}

##
# generic output function - calls the right one based
# on current output mode.
# generic output function - calls the right one based on current output mode.
sub output_intro {
no strict 'refs';
my $func = "output_intro_".$output_mode;
Expand Down Expand Up @@ -1781,8 +1782,9 @@ sub process_file($) {
$in_doc_sect = 1;
$contents = $newcontents;
if ($contents ne "") {
if (substr($contents, 0, 1) eq " ") {
$contents = substr($contents, 1);
while ((substr($contents, 0, 1) eq " ") ||
substr($contents, 0, 1) eq "\t") {
$contents = substr($contents, 1);
}
$contents .= "\n";
}
Expand Down

0 comments on commit 8167caf

Please sign in to comment.