diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-01-17 21:34:26 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-18 19:34:31 -0500 |
commit | 7113ecbe798da958dd6e47378ce831555b81ffc6 (patch) | |
tree | d30ea46f53c14fb24abba8a21de2374a1ab47b02 /newlib | |
parent | ac3d869afbf9f26cd6ea42e1c5acc0e498f6556b (diff) | |
download | newlib-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-x | newlib/libc/iconv/ces/mkdeps.pl | 6 |
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."; } |