ICU-2329 Properly define the enumeration functions for Solaris and z/OS

X-SVN-Rev: 12603
This commit is contained in:
George Rhoten 2003-07-08 15:40:10 +00:00
parent 0f3da69467
commit 9370a2cc96

View File

@ -316,6 +316,7 @@ typedef struct UTransEnumeration {
int32_t index, count;
} UTransEnumeration;
U_CDECL_BEGIN
static int32_t U_CALLCONV
utrans_enum_count(UEnumeration *uenum, UErrorCode *pErrorCode) {
if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
@ -365,6 +366,7 @@ static void U_CALLCONV
utrans_enum_close(UEnumeration *uenum) {
uprv_free(uenum);
}
U_CDECL_END
static const UEnumeration utransEnumeration={
NULL,