ICU-6935 missing C++ namespace use

X-SVN-Rev: 26008
This commit is contained in:
Andy Heninger 2009-05-14 18:30:49 +00:00
parent 12be5b8ce0
commit 8a31302a44
4 changed files with 8 additions and 2 deletions

View file

@ -23,6 +23,8 @@
#define CONST_CAST(type,value) (type) (value)
#endif
U_NAMESPACE_USE
U_CAPI UCD * U_EXPORT2
ucd_open(UCollator *coll, UErrorCode *status)
{

View file

@ -697,6 +697,7 @@ static int currencyNameComparator(const void* a, const void* b) {
// all currency names in "en_US" and "en".
static void
getCurrencyNameCount(const char* loc, int32_t* total_currency_name_count, int32_t* total_currency_symbol_count) {
U_NAMESPACE_USE
*total_currency_name_count = 0;
*total_currency_symbol_count = 0;
const UChar* s = NULL;
@ -783,6 +784,7 @@ collectCurrencyNames(const char* locale,
CurrencyNameStruct** currencySymbols,
int32_t* total_currency_symbol_count,
UErrorCode& ec) {
U_NAMESPACE_USE
// Look up the Currencies resource for the given locale.
UErrorCode ec2 = U_ZERO_ERROR;

View file

@ -21,6 +21,8 @@
// read a file list -------------------------------------------------------- ***
U_NAMESPACE_USE
static const struct {
const char *suffix;
int32_t length;

View file

@ -13,10 +13,10 @@
U_CAPI int U_EXPORT2
writePackageDatFile(const char *outFilename, const char *outComment,
const char *sourcePath, const char *addList, Package *pkg,
const char *sourcePath, const char *addList, U_NAMESPACE_QUALIFIER Package *pkg,
char outType);
U_CAPI Package * U_EXPORT2
U_CAPI U_NAMESPACE_QUALIFIER Package * U_EXPORT2
readList(const char *filesPath, const char *listname, UBool readContents);
#endif