audk/StdLib/LibC/Uefi
darylm503 4883124668 StdLib: Fix compiler compatibility issues:
tcp.h:    Fix packed structure syntax.  cdefs.h is not included so the existing __packed attribute was not properly expanded.  Non-GCC compilers were also not handled correctly.  Changing to the pack(n) pragma is compatible between all supported compilers.

SysCalls.c:  The utimes() function has a fixed number of arguments and calls a function that takes a va_list argument.  GCC will not allow the va_start, etc., macros to be used in a function with a fixed number of arguments, even though that is valid C.  The workaround was to create a worker function for utimes() that takes a variable number of arguments.  The worker function then uses the va_* macros.

Signed-off-by: darylm503
Reviewed-by: leegrosenbaum


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12977 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-01 00:17:05 +00:00
..
Devices StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
GetPass.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
StubFunctions.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
SysCalls.c StdLib: Fix compiler compatibility issues: 2012-02-01 00:17:05 +00:00
Uefi.inf StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
Xform.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
compat.c StdLib: Revise the meaning of several feature macros. 2011-11-03 00:01:24 +00:00
select.c StdLib: Move the declarations for ffs() and bzero() from extern.h to strings.h. 2011-11-03 00:35:55 +00:00
writev.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00