newlib: iconv: sync mkdeps.pl with aliasesbi.c changes

Some changes were made to aliasesbi.c, but not to this file which
dynamically generates it.  Add those fixes to this file too.
This commit is contained in:
Mike Frysinger 2022-01-17 21:34:26 -05:00
parent ac3d869afb
commit 7113ecbe79
1 changed files with 3 additions and 3 deletions

View File

@ -584,8 +584,8 @@ sub generate_aliasesbi_c($)
print ALIASESBI_C "$comment_automatic\n\n";
print ALIASESBI_C "#include <_ansi.h>\n";
print ALIASESBI_C "#include \"encnames.h\"\n\n";
print ALIASESBI_C "const char *\n";
print ALIASESBI_C "$var_aliases =\n";
print ALIASESBI_C "const char\n";
print ALIASESBI_C "$var_aliases\[\] =\n";
print ALIASESBI_C "{\n";
foreach my $enc (sort keys %{$_[0]})
@ -598,7 +598,7 @@ sub generate_aliasesbi_c($)
print ALIASESBI_C "#endif\n";
}
print ALIASESBI_C " \"\"\n";
print ALIASESBI_C "};\n\n";
print ALIASESBI_C "};\n";
close ALIASESBI_C or err "Error while closing ../lib/aliasesbi.c file.";
}