]> granicus.if.org Git - icu/commitdiff
ICU-20208 uspoof.cpp function checkImpl should be static, regenerate urename.h
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 18 Oct 2018 02:47:35 +0000 (19:47 -0700)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 18 Oct 2018 23:38:28 +0000 (16:38 -0700)
icu4c/source/common/unicode/urename.h
icu4c/source/i18n/uspoof.cpp

index 5812173e39cfd277c5cbdffbbeb5a065d2961c5f..0512be3b6e565b5846ce9b4b106d7703d3fcee1f 100644 (file)
 #define _UTF7Data U_ICU_ENTRY_POINT_RENAME(_UTF7Data)
 #define _UTF8Data U_ICU_ENTRY_POINT_RENAME(_UTF8Data)
 #define allowedHourFormatsCleanup U_ICU_ENTRY_POINT_RENAME(allowedHourFormatsCleanup)
-#define checkImpl U_ICU_ENTRY_POINT_RENAME(checkImpl)
 #define cmemory_cleanup U_ICU_ENTRY_POINT_RENAME(cmemory_cleanup)
 #define dayPeriodRulesCleanup U_ICU_ENTRY_POINT_RENAME(dayPeriodRulesCleanup)
 #define deleteAllowedHourFormats U_ICU_ENTRY_POINT_RENAME(deleteAllowedHourFormats)
index 8e3d69ede2b1899cda69fa9108c5d367c14011e5..66f228f037a33d62b148ba4141261d43e04ca309 100644 (file)
@@ -547,7 +547,7 @@ uspoof_checkUnicodeString(const USpoofChecker *sc,
     return uspoof_check2UnicodeString(sc, id, NULL, status);
 }
 
-int32_t checkImpl(const SpoofImpl* This, const UnicodeString& id, CheckResult* checkResult, UErrorCode* status) {
+static int32_t checkImpl(const SpoofImpl* This, const UnicodeString& id, CheckResult* checkResult, UErrorCode* status) {
     U_ASSERT(This != NULL);
     U_ASSERT(checkResult != NULL);
     checkResult->clear();