summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
diff options
context:
space:
mode:
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-27 00:47:35 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-27 00:47:35 +0000
commit6dbd32caf698ceb86fd00face651cdc0e55f3e62 (patch)
treef2cb1c7b324cb16715d4caeaffc2c7e0dc24b014 /AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
parent06c355b42fd112da4a439ba225aa666767d02838 (diff)
downloadedk2-platforms-6dbd32caf698ceb86fd00face651cdc0e55f3e62.tar.xz
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
Diffstat (limited to 'AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c')
-rw-r--r--AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
index 2387a2c845..c096f43ba1 100644
--- a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
+++ b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
@@ -1,17 +1,15 @@
/** @file
Translate the port number into a service name
- Copyright (c) 2011-2012, Intel Corporation
- All rights reserved. This program and the accompanying materials
+ Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
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
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
**/
-
#include <errno.h>
#include <netdb.h>
#include <stdio.h>
@@ -19,8 +17,8 @@
#include <Uefi.h>
#include <unistd.h>
-#include <arpa\nameser.h>
-#include <arpa\nameser_compat.h>
+#include <arpa/nameser.h>
+#include <arpa/nameser_compat.h>
#include <Library/DebugLib.h>
#include <Library/UefiLib.h>
@@ -30,8 +28,8 @@
/**
Translate the IP address into a host name
- @param [in] Argc The number of arguments
- @param [in] Argv The argument value array
+ @param[in] Argc The number of arguments
+ @param[in] Argv The argument value array
@retval 0 The application exited normally.
@retval Other An error occurred.