summaryrefslogtreecommitdiff
path: root/StdLib/BsdSocketLib/poll.c
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-17 23:43:35 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2012-02-17 23:43:35 +0000
commit7700f0f5c0ab90bf052e33fa0ddd2f2aa7e7893e (patch)
tree1cc135c837ceba9c2010f8d1b096c33c820fe884 /StdLib/BsdSocketLib/poll.c
parent1f33d186878b707d956f07607b1f4b1b6063d543 (diff)
downloadedk2-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/poll.c')
-rw-r--r--StdLib/BsdSocketLib/poll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/StdLib/BsdSocketLib/poll.c b/StdLib/BsdSocketLib/poll.c
index 336924d556..dc17567662 100644
--- a/StdLib/BsdSocketLib/poll.c
+++ b/StdLib/BsdSocketLib/poll.c
@@ -26,6 +26,7 @@
**/
short
+EFIAPI
BslSocketPoll (
IN struct __filedes * pDescriptor,
IN short Events