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/Include | |
parent | 05f9aa4026bd5fc401bf588582c080f919b52f2d (diff) | |
download | edk2-platforms-eb222aea1d4385fe7e0136686090907686f9cde6.tar.xz |
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/Include')
-rw-r--r-- | StdLib/Include/Efi/EfiSocketLib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StdLib/Include/Efi/EfiSocketLib.h b/StdLib/Include/Efi/EfiSocketLib.h index 53ad0d4003..f54d4c8fe3 100644 --- a/StdLib/Include/Efi/EfiSocketLib.h +++ b/StdLib/Include/Efi/EfiSocketLib.h @@ -112,13 +112,13 @@ typedef struct _DT_SERVICE DT_SERVICE; ///< Forward delcaration typedef
EFI_STATUS
-(* PFN_SB_INITIALIZE) (
+(EFIAPI * PFN_SB_INITIALIZE) (
DT_SERVICE * pService
);
typedef
VOID
-(* PFN_SB_SHUTDOWN) (
+(EFIAPI * PFN_SB_SHUTDOWN) (
DT_SERVICE * pService
);
|