diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-02 20:52:36 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-02 20:52:36 +0000 |
commit | eb222aea1d4385fe7e0136686090907686f9cde6 (patch) | |
tree | 1b5a6b9ce8a1ca690b4068e9a2e33c717b879151 /StdLib/EfiSocketLib | |
parent | 05f9aa4026bd5fc401bf588582c080f919b52f2d (diff) | |
download | edk2-eb222aea1d4385fe7e0136686090907686f9cde6.tar.gz edk2-eb222aea1d4385fe7e0136686090907686f9cde6.tar.bz2 edk2-eb222aea1d4385fe7e0136686090907686f9cde6.zip |
Fix GCC build breaks.
Fix case mismatch for includes of "Socket.h". Original code was <socket.h> while file was Socket.h in the same directory as the .c file.
Add EFIAPI to function declarations so that they match the definition.
Remove "ineffective" statements from stub functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12076 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/EfiSocketLib')
-rw-r--r-- | StdLib/EfiSocketLib/Init.c | 4 | ||||
-rw-r--r-- | StdLib/EfiSocketLib/UseEfiSocketLib.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/StdLib/EfiSocketLib/Init.c b/StdLib/EfiSocketLib/Init.c index 7a1b89da87..f444acc742 100644 --- a/StdLib/EfiSocketLib/Init.c +++ b/StdLib/EfiSocketLib/Init.c @@ -5,14 +5,14 @@ All rights reserved. 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
+ http://opensource.org/licenses/bsd-license.
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 <socket.h>
+#include "Socket.h"
/**
diff --git a/StdLib/EfiSocketLib/UseEfiSocketLib.c b/StdLib/EfiSocketLib/UseEfiSocketLib.c index b0e8ef671a..a07b2b6e22 100644 --- a/StdLib/EfiSocketLib/UseEfiSocketLib.c +++ b/StdLib/EfiSocketLib/UseEfiSocketLib.c @@ -12,7 +12,7 @@ **/
-#include <socket.h>
+#include "Socket.h"
CONST EFI_GUID mEslRawServiceGuid = {
|