From eb222aea1d4385fe7e0136686090907686f9cde6 Mon Sep 17 00:00:00 2001 From: darylm503 Date: Tue, 2 Aug 2011 20:52:36 +0000 Subject: Fix GCC build breaks. Fix case mismatch for includes of "Socket.h". Original code was 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 --- StdLib/LibC/Uefi/StubFunctions.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'StdLib/LibC') diff --git a/StdLib/LibC/Uefi/StubFunctions.c b/StdLib/LibC/Uefi/StubFunctions.c index da2eaf9148..1462c3ff38 100644 --- a/StdLib/LibC/Uefi/StubFunctions.c +++ b/StdLib/LibC/Uefi/StubFunctions.c @@ -21,7 +21,6 @@ struct passwd * getpwuid (uid_t uid) { - uid; errno = EPERM; return NULL; } @@ -35,7 +34,6 @@ char *getlogin (void) struct passwd * getpwnam (const char *name) { - name; errno = EPERM; return NULL; } -- cgit v1.2.3