edk2/StdLib/Include
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
..
Arm/machine StdLib: Patches and updates for ARM. 2011-09-16 20:59:10 +00:00
Efi Update the sockets library code 2011-09-30 23:02:35 +00:00
Ia32/machine Fix GCC build errors. 2011-08-31 00:02:56 +00:00
Ipf/machine Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Protocol Update the sockets library code 2011-09-30 23:02:35 +00:00
X64/machine StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers. 2011-09-01 21:56:45 +00:00
arpa Add Socket Libraries. 2011-07-30 00:30:44 +00:00
net Add Socket Libraries. 2011-07-30 00:30:44 +00:00
netatalk Add Socket Libraries. 2011-07-30 00:30:44 +00:00
netinet StdLib: Fix compiler compatibility issues: 2012-02-01 00:17:05 +00:00
netinet6 Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
netns Add Socket Libraries. 2011-07-30 00:30:44 +00:00
sys 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
x86 Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
assert.h Update or add comments to files and functions for use by Doxygen. 2011-08-04 18:13:02 +00:00
ctype.h 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
dirent.h StdLib: Add directory access functions to PosixLib. 2011-11-02 19:24:19 +00:00
err.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
errno.h StdLib: Fix some corrupted comments and inconsistent indentation. 2011-11-03 00:52:37 +00:00
fcntl.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
float.h Update or add comments to files and functions for use by Doxygen. 2011-08-04 23:35:57 +00:00
glob.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
inttypes.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
iso646.h Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
langinfo.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
libgen.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
limits.h Update or add comments to files and functions for use by Doxygen. 2011-08-05 23:02:43 +00:00
locale.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
math.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
netdb.h StdLib/Include/netdb.h: Re-enable macros needed by socket applications and perform general cleanup. 2012-01-26 21:45:54 +00:00
nl_types.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
paths.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
pwd.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
resolv.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
setjmp.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
signal.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdarg.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdbool.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stddef.h Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
stdint.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
stdio.h StdLib: Add directory access functions to PosixLib. 2011-11-02 19:24:19 +00:00
stdlib.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
string.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
stringlist.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
strings.h StdLib: Move the declarations for ffs() and bzero() from extern.h to strings.h. 2011-11-03 00:35:55 +00:00
sysexits.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
time.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00
unistd.h 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
utime.h 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
wchar.h StdLib: Replace some non-ASCII characters with ASCII equivalents. 2011-09-08 22:41:36 +00:00
wctype.h Update or add comments to files and functions for use by Doxygen. 2011-08-17 22:54:56 +00:00