diff --git a/icu4c/source/test/intltest/restest.cpp b/icu4c/source/test/intltest/restest.cpp index a4fb06dd119..9471bf89089 100644 --- a/icu4c/source/test/intltest/restest.cpp +++ b/icu4c/source/test/intltest/restest.cpp @@ -85,7 +85,7 @@ itoa(int32_t i, char* buf) // Array of our test objects -struct +static struct { const char* name; Locale *locale; @@ -108,7 +108,7 @@ param[] = { "ne", NULL, U_USING_DEFAULT_WARNING, e_Root, { TRUE, FALSE, FALSE }, { TRUE, FALSE, FALSE } } }; -int32_t bundles_count = sizeof(param) / sizeof(param[0]); +static const int32_t bundles_count = sizeof(param) / sizeof(param[0]); //***************************************************************************************