mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-2659 Update urename.h, and hide functions that don't need to be
exported. X-SVN-Rev: 11982
This commit is contained in:
parent
0457a9e7c8
commit
ad541fd41e
4 changed files with 7 additions and 8 deletions
|
@ -86,7 +86,7 @@ Disclaimer and license
|
|||
* range 0 to BASE-1. The lowercase form is used unless the uppercase flag is
|
||||
* nonzero, in which case the uppercase form is used.
|
||||
*/
|
||||
U_INLINE char
|
||||
static U_INLINE char
|
||||
digitToBasic(int32_t digit, UBool uppercase) {
|
||||
/* 0..25 map to ASCII a..z or A..Z */
|
||||
/* 26..35 map to ASCII 0..9 */
|
||||
|
@ -133,7 +133,7 @@ basicToDigit[256]={
|
|||
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
|
||||
};
|
||||
|
||||
U_INLINE char
|
||||
static U_INLINE char
|
||||
asciiCaseMap(char b, UBool uppercase) {
|
||||
if(uppercase) {
|
||||
if(_SMALL_A<=b && b<=_SMALL_Z) {
|
||||
|
|
|
@ -6095,7 +6095,8 @@ ucol_resizeLatinOneTable(UCollator *coll, int32_t size, UErrorCode *status) {
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
UBool ucol_setUpLatinOne(UCollator *coll, UErrorCode *status) {
|
||||
static UBool
|
||||
ucol_setUpLatinOne(UCollator *coll, UErrorCode *status) {
|
||||
UBool result = TRUE;
|
||||
if(coll->latinOneCEs == NULL) {
|
||||
coll->latinOneCEs = (uint32_t *)uprv_malloc(sizeof(uint32_t)*UCOL_LATINONETABLELEN*3);
|
||||
|
|
|
@ -210,7 +210,8 @@ CReg* CReg::gHead = 0;
|
|||
|
||||
// -------------------------------------
|
||||
|
||||
void idForLocale(const char* locale, char* buffer, int capacity, UErrorCode* ec) {
|
||||
static void
|
||||
idForLocale(const char* locale, char* buffer, int capacity, UErrorCode* ec) {
|
||||
// !!! this is internal only, assumes buffer is not null and capacity is sufficient
|
||||
// Extract the country name and variant name. We only
|
||||
// recognize two variant names, EURO and PREEURO.
|
||||
|
|
|
@ -16,11 +16,8 @@ include $(top_builddir)/icudefs.mk
|
|||
## Build directory information
|
||||
subdir = tools/genpname
|
||||
|
||||
ICUDATADIR=$(top_builddir)/data
|
||||
UNICODEDATADIR=$(top_srcdir)/../data/unidata
|
||||
|
||||
## Extra files to remove for 'make clean'
|
||||
CLEANFILES = *~ $(DEPS) $(RES_FILES) $(TEST_FILES)
|
||||
CLEANFILES = *~ $(DEPS) $(OBJECTS) $(TARGET)
|
||||
|
||||
## Target information
|
||||
TARGET = genpname$(EXEEXT)
|
||||
|
|
Loading…
Add table
Reference in a new issue