]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Network/PxeDhcp4/Dxe/support.c
1. Remove #ifdef _MSC_EXTENSION_ from all source files
[mirror_edk2.git] / EdkModulePkg / Universal / Network / PxeDhcp4 / Dxe / support.c
index 50c991372df3eb108ff14ea9683534b76a27b356..503d5a6038f8c4be8bb142b98f054201725fde42 100644 (file)
@@ -1,17 +1,17 @@
 /*++\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. 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
-                                                                                          \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
+Copyright (c) 2006 - 2007, Intel Corporation\r
+All rights reserved. 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
+\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
 Module Name:\r
   support.c\r
-  \r
+\r
 Abstract:\r
   Miscellaneous support routines for PxeDhcp4 protocol.\r
 \r
@@ -746,7 +746,7 @@ Parameters:
   op_flags := UDP receive operation flags\r
 \r
 Returns:\r
-  EFI_INVALID_PARAMETER := \r
+  EFI_INVALID_PARAMETER :=\r
   EFI_SUCCESS := Packet received\r
   other := Return from PxeBc->UdpRead()\r
 --*/\r
@@ -827,7 +827,7 @@ Parameters:
   SecondsTimeout := Number of seconds until timeout\r
 \r
 Returns:\r
-  EFI_INVALID_PARAMETER := Private == NULL || ServerIp == NULL || \r
+  EFI_INVALID_PARAMETER := Private == NULL || ServerIp == NULL ||\r
     tx_pkt == NULL || rx_pkt == NULL || rx_vfy == NULL || Private->PxeBc == NULL\r
   EFI_ABORTED := Receive aborted\r
   EFI_TIMEOUT := No packets received\r
@@ -923,31 +923,6 @@ Returns:
   //\r
   // Wait for packet(s)...\r
   //\r
-#if 0\r
-  if (!client_ip) {\r
-    Aprint ("client_ip == NULL    ");\r
-  } else {\r
-    Aprint (\r
-      "client_ip == %d.%d.%d.%d    ",\r
-      client_ip->v4.Addr[0],\r
-      client_ip->v4.Addr[1],\r
-      client_ip->v4.Addr[2],\r
-      client_ip->v4.Addr[3]\r
-      );\r
-  }\r
-\r
-  if (!ServerIp) {\r
-    Aprint ("ServerIp == NULL\n");\r
-  } else {\r
-    Aprint (\r
-      "ServerIp == %d.%d.%d.%d\n",\r
-      ServerIp->v4.Addr[0],\r
-      ServerIp->v4.Addr[1],\r
-      ServerIp->v4.Addr[2],\r
-      ServerIp->v4.Addr[3]\r
-      );\r
-  }\r
-#endif\r
 \r
   done_flag   = FALSE;\r
   got_packet  = FALSE;\r