]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/servls.cpp
ICU-57132.0.1.tar.gz
[apple/icu.git] / icuSources / common / servls.cpp
index 0e29bfcee6f34c87200e3bdddaf81e352518591b..900651882f2e0f3e5e54527781898cf479899df4 100644 (file)
@@ -1,6 +1,6 @@
 /**
  *******************************************************************************
 /**
  *******************************************************************************
- * Copyright (C) 2001-2011, International Business Machines Corporation and    *
+ * Copyright (C) 2001-2014, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  *
@@ -16,7 +16,6 @@
 #include "servloc.h"
 #include "ustrfmt.h"
 #include "charstr.h"
 #include "servloc.h"
 #include "ustrfmt.h"
 #include "charstr.h"
-#include "ucln_cmn.h"
 #include "uassert.h"
 
 #define UNDERSCORE_CHAR ((UChar)0x005f)
 #include "uassert.h"
 
 #define UNDERSCORE_CHAR ((UChar)0x005f)
@@ -25,7 +24,7 @@
 
 U_NAMESPACE_BEGIN
 
 
 U_NAMESPACE_BEGIN
 
-static UMTX llock;
+static UMutex llock = U_MUTEX_INITIALIZER;
 ICULocaleService::ICULocaleService()
   : fallbackLocale(Locale::getDefault())
 {
 ICULocaleService::ICULocaleService()
   : fallbackLocale(Locale::getDefault())
 {