ICU-6255 move static variables below U_NAMESPACE_BEGIN.

X-SVN-Rev: 23822
This commit is contained in:
Claire Ho 2008-04-23 16:14:27 +00:00
parent 2ea135aea5
commit a5c9c6e123
3 changed files with 7 additions and 4 deletions

View File

@ -18,6 +18,8 @@
#include "unicode/plurrule.h"
#include "plurrule_impl.h"
U_NAMESPACE_BEGIN
#if !UCONFIG_NO_FORMATTING
U_CDECL_BEGIN
@ -27,7 +29,6 @@ deleteHashStrings(void *obj) {
}
U_CDECL_END
U_NAMESPACE_BEGIN
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(PluralFormat)
#define MAX_KEYWORD_SIZE 30

View File

@ -28,6 +28,8 @@
#if !UCONFIG_NO_FORMATTING
U_NAMESPACE_BEGIN
// gPluralRuleLocaleHash is a global hash table that maps locale name to
// the pointer of PluralRule. gPluralRuleLocaleHash is built only once and
// resides in the memory until end of application. We will remove the
@ -36,9 +38,6 @@
// reachable, please ignore it.
static Hashtable *gPluralRuleLocaleHash=NULL;
U_NAMESPACE_BEGIN
#define ARRAY_SIZE(array) (int32_t)(sizeof array / sizeof array[0])
// TODO: Plural rule data - will move to ResourceBundle.

View File

@ -35,6 +35,8 @@
#include "unicode/unistr.h"
#include <time.h>
U_NAMESPACE_USE
static int tabCount = 0;
static FileStream* out=NULL;
@ -1256,3 +1258,4 @@ cleanup_bundle_write_xml:
uprv_free(outputFileName);
}
}