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