]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/servls.cpp
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / common / servls.cpp
index 0e29bfcee6f34c87200e3bdddaf81e352518591b..f4579d0eecde60f5e1c8a50b3037d7cdd6f6c057 100644 (file)
@@ -1,6 +1,8 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /**
  *******************************************************************************
- * Copyright (C) 2001-2011, International Business Machines Corporation and    *
+ * Copyright (C) 2001-2014, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  *
@@ -16,7 +18,6 @@
 #include "servloc.h"
 #include "ustrfmt.h"
 #include "charstr.h"
-#include "ucln_cmn.h"
 #include "uassert.h"
 
 #define UNDERSCORE_CHAR ((UChar)0x005f)
@@ -25,7 +26,7 @@
 
 U_NAMESPACE_BEGIN
 
-static UMTX llock;
+static UMutex llock = U_MUTEX_INITIALIZER;
 ICULocaleService::ICULocaleService()
   : fallbackLocale(Locale::getDefault())
 {