]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLib/SetMem.c
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLib / SetMem.c
index 9d7b0ec55ea7acd604b2f7fb8332428471908ebf..5c30e9b45f76c652fca8729cd125dee1ef91da1c 100644 (file)
@@ -4,8 +4,8 @@
   build for a particular platform easily if an optimized version\r
   is desired.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -33,7 +33,7 @@
 VOID *\r
 EFIAPI\r
 InternalMemSetMem (\r
-  IN      VOID                      *Buffer,\r
+  OUT     VOID                      *Buffer,\r
   IN      UINTN                     Length,\r
   IN      UINT8                     Value\r
   )\r
@@ -46,7 +46,7 @@ InternalMemSetMem (
   volatile UINT8                    *Pointer;\r
 \r
   Pointer = (UINT8*)Buffer;\r
-  while (Length-- != 0) {\r
+  while (Length-- > 0) {\r
     *(Pointer++) = Value;\r
   }\r
   return Buffer;\r