diff options
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r-- | src/arch/x86/linux/linux.cc | 4 | ||||
-rw-r--r-- | src/arch/x86/linux/linux.hh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/x86/linux/linux.cc b/src/arch/x86/linux/linux.cc index 590af0e40..1b6268d65 100644 --- a/src/arch/x86/linux/linux.cc +++ b/src/arch/x86/linux/linux.cc @@ -42,7 +42,7 @@ #include "arch/x86/linux/linux.hh" // open(2) flags translation table -OpenFlagTransTable X86Linux64::openFlagTable[] = { +SyscallFlagTransTable X86Linux64::openFlagTable[] = { #ifdef _MSC_VER { TGT_O_RDONLY, _O_RDONLY }, { TGT_O_WRONLY, _O_WRONLY }, @@ -81,7 +81,7 @@ const int X86Linux64::NUM_OPEN_FLAGS = sizeof(X86Linux64::openFlagTable[0]); // open(2) flags translation table -OpenFlagTransTable X86Linux32::openFlagTable[] = { +SyscallFlagTransTable X86Linux32::openFlagTable[] = { #ifdef _MSC_VER { TGT_O_RDONLY, _O_RDONLY }, { TGT_O_WRONLY, _O_WRONLY }, diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh index b2047f65e..2fd61471e 100644 --- a/src/arch/x86/linux/linux.hh +++ b/src/arch/x86/linux/linux.hh @@ -67,7 +67,7 @@ class X86Linux64 : public Linux int64_t unused0[3]; } tgt_stat64; - static OpenFlagTransTable openFlagTable[]; + static SyscallFlagTransTable openFlagTable[]; static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY @@ -140,7 +140,7 @@ class X86Linux32 : public Linux uint64_t st_ino; } __attribute__((__packed__)) tgt_stat64; - static OpenFlagTransTable openFlagTable[]; + static SyscallFlagTransTable openFlagTable[]; static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY |