From eb9d3b2708ffc079235e85963cc1e8c7960f2a79 Mon Sep 17 00:00:00 2001 From: Umesh Nair Date: Sat, 6 Nov 2010 00:30:20 +0000 Subject: [PATCH] ICU-7023 Fix import for EBCDIC machines - contd X-SVN-Rev: 29010 --- icu4c/source/common/uloc.c | 2 +- icu4c/source/common/ulocimp.h | 3 +++ icu4c/source/common/unicode/urename.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/icu4c/source/common/uloc.c b/icu4c/source/common/uloc.c index 4471eb73660..64465032ae3 100644 --- a/icu4c/source/common/uloc.c +++ b/icu4c/source/common/uloc.c @@ -568,7 +568,7 @@ static int32_t getShortestSubtagLength(const char *localeID) { #define ULOC_KEYWORD_BUFFER_LEN 25 #define ULOC_MAX_NO_KEYWORDS 25 -static const char * +U_CAPI const char * U_EXPORT2 locale_getKeywordsStart(const char *localeID) { const char *result = NULL; if((result = uprv_strchr(localeID, '@')) != NULL) { diff --git a/icu4c/source/common/ulocimp.h b/icu4c/source/common/ulocimp.h index eb55b2451e2..ebc525ef9de 100644 --- a/icu4c/source/common/ulocimp.h +++ b/icu4c/source/common/ulocimp.h @@ -59,4 +59,7 @@ ulocimp_getCountry(const char *localeID, char *country, int32_t countryCapacity, const char **pEnd); +U_CAPI const char * U_EXPORT2 +locale_getKeywordsStart(const char *localeID); + #endif diff --git a/icu4c/source/common/unicode/urename.h b/icu4c/source/common/unicode/urename.h index d33da59a9ab..468bdbd0f46 100644 --- a/icu4c/source/common/unicode/urename.h +++ b/icu4c/source/common/unicode/urename.h @@ -142,6 +142,7 @@ #define le_layoutChars U_ICU_ENTRY_POINT_RENAME(le_layoutChars) #define le_reset U_ICU_ENTRY_POINT_RENAME(le_reset) #define locale_getKeywords U_ICU_ENTRY_POINT_RENAME(locale_getKeywords) +#define locale_getKeywordsStart U_ICU_ENTRY_POINT_RENAME(locale_getKeywordsStart) #define locale_get_default U_ICU_ENTRY_POINT_RENAME(locale_get_default) #define locale_set_default U_ICU_ENTRY_POINT_RENAME(locale_set_default) #define pl_addFontRun U_ICU_ENTRY_POINT_RENAME(pl_addFontRun)