diff --git a/icu4c/source/common/rbbiscan.cpp b/icu4c/source/common/rbbiscan.cpp index 1eee4d06f5f..dd50ec5a946 100644 --- a/icu4c/source/common/rbbiscan.cpp +++ b/icu4c/source/common/rbbiscan.cpp @@ -71,7 +71,7 @@ static const UChar kAny[] = {0x61, 0x6e, 0x79, 0x00}; // "any" U_CDECL_BEGIN -static void U_EXPORT2 U_CALLCONV RBBISetTable_deleter(void *p) { +static void U_CALLCONV RBBISetTable_deleter(void *p) { RBBISetTableEl *px = (RBBISetTableEl *)p; delete px->key; // Note: px->val is owned by the linked list "fSetsListHead" in scanner. diff --git a/icu4c/source/common/rbbistbl.cpp b/icu4c/source/common/rbbistbl.cpp index f8aae326283..56676538ac0 100644 --- a/icu4c/source/common/rbbistbl.cpp +++ b/icu4c/source/common/rbbistbl.cpp @@ -3,7 +3,7 @@ // /* *************************************************************************** -* Copyright (C) 2002-2004 International Business Machines Corporation * +* Copyright (C) 2002-2005 International Business Machines Corporation * * and others. All rights reserved. * *************************************************************************** */ @@ -28,7 +28,7 @@ // when the hash table is deleted. // U_CDECL_BEGIN -static void U_EXPORT2 U_CALLCONV RBBISymbolTableEntry_deleter(void *p) { +static void U_CALLCONV RBBISymbolTableEntry_deleter(void *p) { RBBISymbolTableEntry *px = (RBBISymbolTableEntry *)p; delete px; } diff --git a/icu4c/source/common/udata.c b/icu4c/source/common/udata.c index c5b7b19f692..dd8e5d5831f 100644 --- a/icu4c/source/common/udata.c +++ b/icu4c/source/common/udata.c @@ -194,7 +194,7 @@ typedef struct DataCacheElement { * udata cleanup function closes the hash table; hash table in turn calls back to * here for each entry. */ -static void U_EXPORT2 U_CALLCONV DataCacheElement_deleter(void *pDCEl) { +static void U_CALLCONV DataCacheElement_deleter(void *pDCEl) { DataCacheElement *p = (DataCacheElement *)pDCEl; udata_close(p->item); /* unmaps storage */ uprv_free(p->name); /* delete the hash key string. */ diff --git a/icu4c/source/common/uresbund.c b/icu4c/source/common/uresbund.c index 4e72027cc16..3ba4b7b07b5 100644 --- a/icu4c/source/common/uresbund.c +++ b/icu4c/source/common/uresbund.c @@ -45,7 +45,7 @@ static UHashtable *cache = NULL; static UMTX resbMutex = NULL; /* INTERNAL: hashes an entry */ -static int32_t U_EXPORT2 U_CALLCONV hashEntry(const UHashTok parm) { +static int32_t U_CALLCONV hashEntry(const UHashTok parm) { UResourceDataEntry *b = (UResourceDataEntry *)parm.pointer; UHashTok namekey, pathkey; namekey.pointer = b->fName; @@ -54,7 +54,7 @@ static int32_t U_EXPORT2 U_CALLCONV hashEntry(const UHashTok parm) { } /* INTERNAL: compares two entries */ -static UBool U_EXPORT2 U_CALLCONV compareEntries(const UHashTok p1, const UHashTok p2) { +static UBool U_CALLCONV compareEntries(const UHashTok p1, const UHashTok p2) { UResourceDataEntry *b1 = (UResourceDataEntry *)p1.pointer; UResourceDataEntry *b2 = (UResourceDataEntry *)p2.pointer; UHashTok name1, name2, path1, path2; diff --git a/icu4c/source/common/usprep.cpp b/icu4c/source/common/usprep.cpp index a558d336fa5..389f17abd15 100644 --- a/icu4c/source/common/usprep.cpp +++ b/icu4c/source/common/usprep.cpp @@ -1,7 +1,7 @@ /* ******************************************************************************* * - * Copyright (C) 2003-2004, International Business Machines + * Copyright (C) 2003-2005, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -83,7 +83,7 @@ getSPrepFoldingOffset(uint32_t data) { } /* hashes an entry */ -static int32_t U_EXPORT2 U_CALLCONV +static int32_t U_CALLCONV hashEntry(const UHashTok parm) { UStringPrepKey *b = (UStringPrepKey *)parm.pointer; UHashTok namekey, pathkey; @@ -93,7 +93,7 @@ hashEntry(const UHashTok parm) { } /* compares two entries */ -static UBool U_EXPORT2 U_CALLCONV +static UBool U_CALLCONV compareEntries(const UHashTok p1, const UHashTok p2) { UStringPrepKey *b1 = (UStringPrepKey *)p1.pointer; UStringPrepKey *b2 = (UStringPrepKey *)p2.pointer;