ICU-7280 Move U_CDECL_END down to include function definitions as well as declarations.

X-SVN-Rev: 27064
This commit is contained in:
Peter Edberg 2009-12-14 05:57:34 +00:00
parent 9e89ddd717
commit 0c1c7aad2b
4 changed files with 6 additions and 7 deletions

View file

@ -36,8 +36,6 @@ U_CDECL_BEGIN
*/
static UBool U_CALLCONV ValueComparator(UHashTok val1, UHashTok val2);
U_CDECL_END
UBool
U_CALLCONV ValueComparator(UHashTok val1, UHashTok val2) {
const UnicodeString* affix_1 = (UnicodeString*)val1.pointer;
@ -45,6 +43,7 @@ U_CALLCONV ValueComparator(UHashTok val1, UHashTok val2) {
return *affix_1 == *affix_2;
}
U_CDECL_END
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyPluralInfo)

View file

@ -76,7 +76,6 @@ UBool U_CALLCONV decimfmtAffixValueComparator(UHashTok val1, UHashTok val2);
*/
UBool U_CALLCONV decimfmtAffixPatternValueComparator(UHashTok val1, UHashTok val2);
U_CDECL_END
UBool
U_CALLCONV decimfmtAffixValueComparator(UHashTok val1, UHashTok val2) {
@ -108,6 +107,8 @@ U_CALLCONV decimfmtAffixPatternValueComparator(UHashTok val1, UHashTok val2) {
affix_1->patternType == affix_2->patternType;
}
U_CDECL_END
//#define FMT_DEBUG

View file

@ -577,8 +577,6 @@ U_CDECL_BEGIN
*/
UBool U_CALLCONV dtitvinfHashTableValueComparator(UHashTok val1, UHashTok val2);
U_CDECL_END
UBool
U_CALLCONV dtitvinfHashTableValueComparator(UHashTok val1, UHashTok val2) {
const UnicodeString* pattern1 = (UnicodeString*)val1.pointer;
@ -591,6 +589,7 @@ U_CALLCONV dtitvinfHashTableValueComparator(UHashTok val1, UHashTok val2) {
return ret;
}
U_CDECL_END
Hashtable*

View file

@ -802,8 +802,6 @@ U_CDECL_BEGIN
*/
UBool U_CALLCONV tmutfmtHashTableValueComparator(UHashTok val1, UHashTok val2);
U_CDECL_END
UBool
U_CALLCONV tmutfmtHashTableValueComparator(UHashTok val1, UHashTok val2) {
const MessageFormat** pattern1 = (const MessageFormat**)val1.pointer;
@ -811,6 +809,8 @@ U_CALLCONV tmutfmtHashTableValueComparator(UHashTok val1, UHashTok val2) {
return *pattern1[0] == *pattern2[0] && *pattern1[1] == *pattern2[1];
}
U_CDECL_END
Hashtable*
TimeUnitFormat::initHash(UErrorCode& status) {