audk/StdLib/LibC
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
..
CRT Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
Ctype 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
Locale 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
Main StdLib: Eliminate TimerLib dependencies. 2011-11-11 00:32:31 +00:00
Math Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
NetUtil Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Signal Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
StdLib StdLib: Revise the meaning of several feature macros. 2011-11-03 00:01:24 +00:00
Stdio 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
String StdLib: Fix strcmp so that comparisons are case sensitive. Simplified code for strcasecmp. 2011-11-01 00:19:51 +00:00
Time 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
Uefi StdLib: Fix compiler compatibility issues: 2012-02-01 00:17:05 +00:00
Wchar Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
gdtoa Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
LibC.inf StdLib: Eliminate TimerLib dependencies. 2011-11-11 00:32:31 +00:00