diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-17 23:43:35 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-02-17 23:43:35 +0000 |
commit | 7700f0f5c0ab90bf052e33fa0ddd2f2aa7e7893e (patch) | |
tree | 1cc135c837ceba9c2010f8d1b096c33c820fe884 /StdLib/BsdSocketLib/close.c | |
parent | 1f33d186878b707d956f07607b1f4b1b6063d543 (diff) | |
download | edk2-platforms-7700f0f5c0ab90bf052e33fa0ddd2f2aa7e7893e.tar.xz |
* StdLib.dsc was changed to always build the sockets code.
* Fix errors detected by the GCC compiler (pointer conversions and format mismatches).
* Worked around a GCC flow analysis issue in base64.c where the compiler is convinced that there is a path through the code where "input" is used but not initialized.
* Added EFIAPI to the file system operation routines for sockets to match the API declaration.
Note for GCC, the meaning of "l" and "L" are different in printf and sscanf format strings. The lower case "l" indicates a 32-bit value where the capital "L" indicates a 64-bit value. The native (default) integer size may be represented by a size letter of "n".
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13023 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/BsdSocketLib/close.c')
-rw-r--r-- | StdLib/BsdSocketLib/close.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StdLib/BsdSocketLib/close.c b/StdLib/BsdSocketLib/close.c index 3dfeb2bf18..f3f7e98cba 100644 --- a/StdLib/BsdSocketLib/close.c +++ b/StdLib/BsdSocketLib/close.c @@ -94,6 +94,7 @@ BslSocketCloseWork ( **/
int
+EFIAPI
BslSocketClose (
struct __filedes * pDescriptor
)
|