]> git.proxmox.com Git - mirror_edk2.git/commit
* StdLib.dsc was changed to always build the sockets code.
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Feb 2012 23:43:35 +0000 (23:43 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 17 Feb 2012 23:43:35 +0000 (23:43 +0000)
commit7700f0f5c0ab90bf052e33fa0ddd2f2aa7e7893e
tree1cc135c837ceba9c2010f8d1b096c33c820fe884
parent1f33d186878b707d956f07607b1f4b1b6063d543
* 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
13 files changed:
StdLib/BsdSocketLib/SocketInternals.h
StdLib/BsdSocketLib/base64.c
StdLib/BsdSocketLib/close.c
StdLib/BsdSocketLib/getaddrinfo.c
StdLib/BsdSocketLib/inet_net_ntop.c
StdLib/BsdSocketLib/ns_ntoa.c
StdLib/BsdSocketLib/ns_print.c
StdLib/BsdSocketLib/poll.c
StdLib/BsdSocketLib/read.c
StdLib/BsdSocketLib/res_debug.c
StdLib/BsdSocketLib/res_send.c
StdLib/BsdSocketLib/write.c
StdLib/StdLib.dsc