diff --git a/icu4c/source/common/ucnv_io.c b/icu4c/source/common/ucnv_io.c index 7cf0509b679..4eb6ea344a1 100644 --- a/icu4c/source/common/ucnv_io.c +++ b/icu4c/source/common/ucnv_io.c @@ -208,7 +208,7 @@ static int16_t getTagNumber(const char *tagname) { * lexically follows name2. */ U_CAPI int U_EXPORT2 -ucnv_aliasNameCmp(const char *name1, const char *name2) { +ucnv_compareNames(const char *name1, const char *name2) { int rc; unsigned char c1, c2; @@ -261,7 +261,7 @@ findAlias(const char *alias) { start=0; while(start #include #include "unicode/utypes.h" -#include "unicode/ucnv.h" /* ucnv_aliasNameCmp() */ +#include "unicode/ucnv.h" /* ucnv_compareNames() */ #include "cmemory.h" #include "cstring.h" #include "filestrm.h" @@ -488,7 +488,7 @@ allocString(StringBlock *block, uint32_t length) { static int compareAliases(const void *alias1, const void *alias2) { - return ucnv_aliasNameCmp(((Alias*)alias1)->alias, ((Alias*)alias2)->alias); + return ucnv_compareNames(((Alias*)alias1)->alias, ((Alias*)alias2)->alias); } /*