From 76beedc09c9156b0e711e08e8af55dd2084e810a Mon Sep 17 00:00:00 2001 From: darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> Date: Fri, 16 Sep 2011 23:16:56 +0000 Subject: StdLib: Change the last argument of the ioctl helper functions to va_list* from void*. Functions which call these helper functions always pass the last parameter as a va_list argument. Add a conditional block around a MSFT-only pragma so that stringlist.c will compile with GCC. Comment-out the Socket Library components within StdLib.dsc. These components are still in development. Signed-off-by: darylm503 Reviewed by: geekboy15A git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12369 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/Uefi/Devices/UefiShell/daShell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'StdLib/LibC/Uefi/Devices/UefiShell/daShell.c') diff --git a/StdLib/LibC/Uefi/Devices/UefiShell/daShell.c b/StdLib/LibC/Uefi/Devices/UefiShell/daShell.c index d56db49159..d0abb8dd5b 100644 --- a/StdLib/LibC/Uefi/Devices/UefiShell/daShell.c +++ b/StdLib/LibC/Uefi/Devices/UefiShell/daShell.c @@ -26,6 +26,7 @@ #include <errno.h> #include <string.h> #include <stdlib.h> +#include <stdarg.h> #include <wctype.h> #include <wchar.h> #include <sys/fcntl.h> @@ -319,7 +320,7 @@ EFIAPI da_ShellIoctl( struct __filedes *filp, ULONGN cmd, - void *argp ///< May be a pointer or a value + va_list argp ) { return -EPERM; -- cgit v1.2.3