summaryrefslogtreecommitdiff
path: root/src/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-03-04 19:26:49 -0800
committerNathan Binkert <binkertn@umich.edu>2007-03-04 19:26:49 -0800
commitba042842c61339e33c0b684f9854e8fe818160fe (patch)
treef6457adc3d641b358ac8f39b30933a321a0687d9 /src/sim/syscall_emul.hh
parenta81143f06a1ba32839b26f38ddbad8753f93b9cd (diff)
downloadgem5-ba042842c61339e33c0b684f9854e8fe818160fe.tar.xz
Don't use the exact same name as a system header #define
--HG-- extra : convert_revision : 099e380395fc1fdaef993b019d3d4e596e8076c2
Diffstat (limited to 'src/sim/syscall_emul.hh')
-rw-r--r--src/sim/syscall_emul.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index 5ca2f6be5..94ae8e3e6 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -452,14 +452,14 @@ ioctlFunc(SyscallDesc *desc, int callnum, LiveProcess *process,
}
switch (req) {
- case OS::TIOCISATTY:
- case OS::TIOCGETP:
- case OS::TIOCSETP:
- case OS::TIOCSETN:
- case OS::TIOCSETC:
- case OS::TIOCGETC:
- case OS::TIOCGETS:
- case OS::TIOCGETA:
+ case OS::TIOCISATTY_:
+ case OS::TIOCGETP_:
+ case OS::TIOCSETP_:
+ case OS::TIOCSETN_:
+ case OS::TIOCSETC_:
+ case OS::TIOCGETC_:
+ case OS::TIOCGETS_:
+ case OS::TIOCGETA_:
return -ENOTTY;
default: