AppPkg/Applications/Sockets: Address GCC and Linux compilation problems.

1) Fix copyright and license notices.
  2) Replace '\' in include paths with '/'.
  3) Fix case mismatch between include paths and actual files and directories.

Signed-off-by: darylm503
Reviewed-by: geekboy15a


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13142 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
darylm503 2012-03-27 00:47:35 +00:00
parent 06c355b42f
commit 6dbd32caf6
3 changed files with 458 additions and 466 deletions

View File

@ -1,17 +1,15 @@
/** @file /** @file
Translate the port number into a service name Translate the port number into a service name
Copyright (c) 2011-2012, Intel Corporation Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
All rights reserved. This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <errno.h> #include <errno.h>
#include <netdb.h> #include <netdb.h>
#include <stdio.h> #include <stdio.h>
@ -19,8 +17,8 @@
#include <Uefi.h> #include <Uefi.h>
#include <unistd.h> #include <unistd.h>
#include <arpa\nameser.h> #include <arpa/nameser.h>
#include <arpa\nameser_compat.h> #include <arpa/nameser_compat.h>
#include <Library/DebugLib.h> #include <Library/DebugLib.h>
#include <Library/UefiLib.h> #include <Library/UefiLib.h>
@ -30,8 +28,8 @@
/** /**
Translate the IP address into a host name Translate the IP address into a host name
@param [in] Argc The number of arguments @param[in] Argc The number of arguments
@param [in] Argv The argument value array @param[in] Argv The argument value array
@retval 0 The application exited normally. @retval 0 The application exited normally.
@retval Other An error occurred. @retval Other An error occurred.

View File

@ -1,31 +1,28 @@
/** /** @file
@file
Display the DHCP options Display the DHCP options
Copyright (c) 2011-2012, Intel Corporation Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
All rights reserved. This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/ **/
#include <WebServer.h> #include <WebServer.h>
#include <Guid/DxeServices.h> #include <Guid/DxeServices.h>
#include <pi/PiDxeCis.h> #include <Pi/PiDxeCis.h>
#include <protocol/Dhcp4.h> #include <Protocol/Dhcp4.h>
#include <protocol/ServiceBinding.h> #include <Protocol/ServiceBinding.h>
/** /**
Respond with the DHCP options Respond with the DHCP options
@param [in] SocketFD The socket's file descriptor to add to the list. @param[in] SocketFD The socket's file descriptor to add to the list.
@param [in] pPort The WSDT_PORT structure address @param[in] pPort The WSDT_PORT structure address
@param [out] pbDone Address to receive the request completion status @param[out] pbDone Address to receive the request completion status
@retval EFI_SUCCESS The request was successfully processed @retval EFI_SUCCESS The request was successfully processed

View File

@ -1,28 +1,25 @@
/** /** @file
@file
Display the DXE services table Display the DXE services table
Copyright (c) 2011-2012, Intel Corporation Copyright (c) 2011 - 2012 Intel Corporation. All rights reserved.<BR>
All rights reserved. This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php http://opensource.org/licenses/bsd-license.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
--*/
**/
#include <WebServer.h> #include <WebServer.h>
#include <Guid/DxeServices.h> #include <Guid/DxeServices.h>
#include <pi/PiDxeCis.h> #include <Pi/PiDxeCis.h>
/** /**
Respond with the DXE services table Respond with the DXE services table
@param [in] SocketFD The socket's file descriptor to add to the list. @param[in] SocketFD The socket's file descriptor to add to the list.
@param [in] pPort The WSDT_PORT structure address @param[in] pPort The WSDT_PORT structure address
@param [out] pbDone Address to receive the request completion status @param[out] pbDone Address to receive the request completion status
@retval EFI_SUCCESS The request was successfully processed @retval EFI_SUCCESS The request was successfully processed