Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-18 05:34:26 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-19 03:34:31 +0300
commit7113ecbe798da958dd6e47378ce831555b81ffc6 (patch)
treed30ea46f53c14fb24abba8a21de2374a1ab47b02 /newlib
parentac3d869afbf9f26cd6ea42e1c5acc0e498f6556b (diff)
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 d78dfe8f8..68f090b0e 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.";
}