wikiheaders.pl: Whitespace fixes.
diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl
index dc332a8..a6422d4 100755
--- a/build-scripts/wikiheaders.pl
+++ b/build-scripts/wikiheaders.pl
@@ -427,6 +427,12 @@ while (readdir(DH)) {
}
close(FH);
+ foreach (keys %sections) {
+ $sections{$_} =~ s/\A\n+//;
+ $sections{$_} =~ s/\n+\Z//;
+ $sections{$_} .= "\n";
+ }
+
if (0) {
foreach (@section_order) {
print("$fn SECTION '$_':\n");