diff --git a/tools/c2man.pl b/tools/c2man.pl index 8d11d1c4c02..7797e0cd6d4 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -1388,7 +1388,7 @@ sub output_api_section_start($$) if ($opt_output_format eq "h") { - print OUTPUT "\n

",$section_name,"

\n"; + print OUTPUT "\n

",$section_name,"

\n"; } elsif ($opt_output_format eq "s") { @@ -1447,7 +1447,7 @@ sub output_api_synopsis($) if ($opt_output_format eq "h") { - print OUTPUT "

\n ", $comment->{RETURNS}," ",$comment->{COMMENT_NAME},"\n (\n";
+    print OUTPUT "
\n ", $comment->{RETURNS}," ",$comment->{COMMENT_NAME},"\n (\n";
     @fmt = ("", "\n", "", "");
   }
   elsif ($opt_output_format eq "s")
@@ -1502,7 +1502,7 @@ sub output_api_synopsis($)
 
   if ($opt_output_format eq "h")
   {
-    print OUTPUT " )\n\n

\n"; + print OUTPUT " )\n
\n"; } elsif ($opt_output_format eq "s") {