]> granicus.if.org Git - icu/commitdiff
ICU-21161 Mark uloc_getDisplayScriptInContext static
authorFrank Tang <ftang@chromium.org>
Thu, 18 Jun 2020 04:51:13 +0000 (21:51 -0700)
committerFrank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com>
Thu, 18 Jun 2020 06:26:33 +0000 (23:26 -0700)
Remove from urename.h

icu4c/source/common/locdispnames.cpp
icu4c/source/common/unicode/urename.h

index d92348e31c8843916d0ef6334d312b866c624a29..3f056c35e582e7c396e273ccb00098675606c781 100644 (file)
@@ -419,7 +419,7 @@ uloc_getDisplayScript(const char* locale,
        }
 }
 
-U_INTERNAL int32_t U_EXPORT2
+static int32_t
 uloc_getDisplayScriptInContext(const char* locale,
                       const char* displayLocale,
                       UChar *dest, int32_t destCapacity,
index 30f4b7af39adc5ccd83a984e6098ef2926ad6885..463ced3da54ae05310624a5eff9055101466054d 100644 (file)
 #define uloc_getDisplayLanguage U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayLanguage)
 #define uloc_getDisplayName U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayName)
 #define uloc_getDisplayScript U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayScript)
-#define uloc_getDisplayScriptInContext U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayScriptInContext)
 #define uloc_getDisplayVariant U_ICU_ENTRY_POINT_RENAME(uloc_getDisplayVariant)
 #define uloc_getISO3Country U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Country)
 #define uloc_getISO3Language U_ICU_ENTRY_POINT_RENAME(uloc_getISO3Language)