diff options
Diffstat (limited to 'StdLib/LibC/Locale/setlocale.c')
-rw-r--r-- | StdLib/LibC/Locale/setlocale.c | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/StdLib/LibC/Locale/setlocale.c b/StdLib/LibC/Locale/setlocale.c index b6090d2ea0..4d617d21da 100644 --- a/StdLib/LibC/Locale/setlocale.c +++ b/StdLib/LibC/Locale/setlocale.c @@ -1,6 +1,15 @@ -/* $NetBSD: setlocale.c,v 1.50 2006/02/16 19:19:49 tnozaki Exp $ */
+/** @file
+ Worker functions for the setlocale function.
+
+ Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials are licensed and made available under
+ the terms and conditions of the BSD License that accompanies this distribution.
+ The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
@@ -30,16 +39,12 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- */
+
+ setlocale.c 8.1 (Berkeley) 7/4/93
+ * NetBSD: setlocale.c,v 1.50 2006/02/16 19:19:49 tnozaki Exp
+**/
#include <LibConfig.h>
#include <sys/EfiCdefs.h>
-#if defined(LIBC_SCCS) && !defined(lint)
- #if 0
- static char sccsid[] = "@(#)setlocale.c 8.1 (Berkeley) 7/4/93";
- #else
- __RCSID("$NetBSD: setlocale.c,v 1.50 2006/02/16 19:19:49 tnozaki Exp $");
- #endif
-#endif /* LIBC_SCCS and not lint */
#if defined(_MSC_VER)
// Disable warnings about assignment within conditional expressions.
@@ -86,9 +91,7 @@ const char *_PathLocale = NULL;
#endif
-/*
- * Category names for getenv()
- */
+/** Category names for getenv(). **/
static const char *const categories[_LC_LAST] = {
"LC_ALL",
"LC_COLLATE",
@@ -99,9 +102,7 @@ static const char *const categories[_LC_LAST] = { "LC_MESSAGES"
};
-/*
- * Current locales for each category
- */
+/** Current locales for each category. **/
static char current_categories[_LC_LAST][32] = {
"C",
"C",
|