diff options
Diffstat (limited to 'StdLib/LibC')
-rw-r--r-- | StdLib/LibC/Uefi/Devices/Console/daConsole.c | 3 | ||||
-rw-r--r-- | StdLib/LibC/Uefi/Devices/UefiShell/daShell.c | 3 | ||||
-rw-r--r-- | StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/StdLib/LibC/Uefi/Devices/Console/daConsole.c b/StdLib/LibC/Uefi/Devices/Console/daConsole.c index 5a593557e0..600fb073c4 100644 --- a/StdLib/LibC/Uefi/Devices/Console/daConsole.c +++ b/StdLib/LibC/Uefi/Devices/Console/daConsole.c @@ -26,6 +26,7 @@ #include <errno.h>
#include <wctype.h>
#include <wchar.h>
+#include <stdarg.h>
#include <sys/fcntl.h>
#include <kfile.h>
#include <Device/Device.h>
@@ -377,7 +378,7 @@ EFIAPI da_ConIoctl(
struct __filedes *filp,
ULONGN cmd,
- void *argp
+ va_list argp
)
{
return -EPERM;
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;
diff --git a/StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c b/StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c index 6510ce7747..f6d375e6db 100644 --- a/StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c +++ b/StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c @@ -17,6 +17,7 @@ #include <LibConfig.h>
#include <errno.h>
+#include <stdarg.h>
#include <sys/poll.h>
#include <kfile.h>
#include <Device/Device.h>
@@ -45,7 +46,7 @@ int EFIAPI fnullop_flush (struct __filedes *filp) int EFIAPI fbadop_stat (struct __filedes *filp, struct stat *StatBuf, void *Buf)
{ return -EPERM; }
-int EFIAPI fbadop_ioctl (struct __filedes *filp, ULONGN Cmd, void *argp)
+int EFIAPI fbadop_ioctl (struct __filedes *filp, ULONGN Cmd, va_list argp)
{ return -EPERM; }
int EFIAPI fbadop_delete (struct __filedes *filp)
|