diff options
author | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-30 01:54:16 +0000 |
---|---|---|
committer | lpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-30 01:54:16 +0000 |
commit | a2ea1a9dde65af2a35ae8364ba02eeaed82ff648 (patch) | |
tree | 681ef591c7bc3e466268f5d947cc5ded887b63f3 | |
parent | 7fc7865b66292c89386557be7f5e4620c842910c (diff) | |
download | edk2-a2ea1a9dde65af2a35ae8364ba02eeaed82ff648.zip edk2-a2ea1a9dde65af2a35ae8364ba02eeaed82ff648.tar.gz edk2-a2ea1a9dde65af2a35ae8364ba02eeaed82ff648.tar.bz2 |
Merged changes from trunk revision 12369
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/branches/EADK@12484 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | StdLibPrivateInternalFiles/Include/kfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/StdLibPrivateInternalFiles/Include/kfile.h b/StdLibPrivateInternalFiles/Include/kfile.h index c83b07b..6e7d1b4 100644 --- a/StdLibPrivateInternalFiles/Include/kfile.h +++ b/StdLibPrivateInternalFiles/Include/kfile.h @@ -48,6 +48,7 @@ #include <Protocol/SimpleFileSystem.h>
#include <wchar.h>
+#include <stdarg.h>
#include <sys/fcntl.h>
#include <sys/unistd.h>
@@ -104,7 +105,7 @@ struct fileops { /* Call the fbadop_* version of these functions if not implemented by the device. */
int (EFIAPI *fo_stat) (struct __filedes *filp, struct stat *StatBuf, void *Buf);
- int (EFIAPI *fo_ioctl) (struct __filedes *filp, ULONGN Cmd, void *argp);
+ int (EFIAPI *fo_ioctl) (struct __filedes *filp, ULONGN Cmd, va_list argp);
int (EFIAPI *fo_delete) (struct __filedes *filp);
int (EFIAPI *fo_rmdir) (struct __filedes *filp);
int (EFIAPI *fo_mkdir) (const char *path, __mode_t perms);
@@ -159,7 +160,7 @@ short EFIAPI fnullop_poll (struct __filedes *filp, short Events); int EFIAPI fnullop_flush (struct __filedes *filp);
int EFIAPI fbadop_stat (struct __filedes *filp, struct stat *StatBuf, void *Buf);
-int EFIAPI fbadop_ioctl (struct __filedes *filp, ULONGN Cmd, void *argp);
+int EFIAPI fbadop_ioctl (struct __filedes *filp, ULONGN Cmd, va_list argp);
int EFIAPI fbadop_delete (struct __filedes *filp);
int EFIAPI fbadop_rmdir (struct __filedes *filp);
int EFIAPI fbadop_mkdir (const char *path, __mode_t perms);
|