aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-17 21:34:26 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-18 19:34:31 -0500
commit7113ecbe798da958dd6e47378ce831555b81ffc6 (patch)
treed30ea46f53c14fb24abba8a21de2374a1ab47b02 /newlib
parentac3d869afbf9f26cd6ea42e1c5acc0e498f6556b (diff)
downloadnewlib-7113ecbe798da958dd6e47378ce831555b81ffc6.zip
newlib-7113ecbe798da958dd6e47378ce831555b81ffc6.tar.gz
newlib-7113ecbe798da958dd6e47378ce831555b81ffc6.tar.bz2
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.
Diffstat (limited to 'newlib')
-rwxr-xr-xnewlib/libc/iconv/ces/mkdeps.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/iconv/ces/mkdeps.pl b/newlib/libc/iconv/ces/mkdeps.pl
index d78dfe8..68f090b 100755
--- a/newlib/libc/iconv/ces/mkdeps.pl
+++ b/newlib/libc/iconv/ces/mkdeps.pl
@@ -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.";
}