]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Support.c
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Mtftp4Dxe / Mtftp4Support.c
index a758f4bb0c998c3e9ba24c802ce83481e617331e..7414bf226dcc3b154376e45f7ea57037ec3038b3 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Support routines for Mtftp.\r
   \r
-Copyright (c) 2006 - 2009, Intel Corporation<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, 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<BR>\r
@@ -139,7 +139,7 @@ Mtftp4SetLastBlockNum (
 \r
     if (Range->Start > Last) {\r
       RemoveEntryList (&Range->Link);\r
-      gBS->FreePool (Range);\r
+      FreePool (Range);\r
       continue;\r
     }\r
 \r
@@ -209,7 +209,7 @@ Mtftp4RemoveBlockNum (
 \r
       if (Range->Start > Range->End) {\r
         RemoveEntryList (&Range->Link);\r
-        gBS->FreePool (Range);\r
+        FreePool (Range);\r
       }\r
 \r
       return EFI_SUCCESS;\r
@@ -365,6 +365,7 @@ Mtftp4SendError (
 \r
 **/\r
 VOID\r
+EFIAPI\r
 Mtftp4OnPacketSent (\r
   IN NET_BUF                   *Packet,\r
   IN UDP_END_POINT             *EndPoint,\r