summaryrefslogtreecommitdiff
path: root/linux-user/x86_64/termbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/x86_64/termbits.h')
-rw-r--r--linux-user/x86_64/termbits.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/linux-user/x86_64/termbits.h b/linux-user/x86_64/termbits.h
index b958549af1..1c3445c6a2 100644
--- a/linux-user/x86_64/termbits.h
+++ b/linux-user/x86_64/termbits.h
@@ -1,15 +1,15 @@
#define TARGET_NCCS 19
-typedef unsigned char a_target_cc;
-typedef unsigned int a_target_speed;
-typedef unsigned int a_target_tcflag;
+typedef unsigned char target_cc_t;
+typedef unsigned int target_speed_t;
+typedef unsigned int target_tcflag_t;
struct target_termios {
- a_target_tcflag c_iflag; /* input mode flags */
- a_target_tcflag c_oflag; /* output mode flags */
- a_target_tcflag c_cflag; /* control mode flags */
- a_target_tcflag c_lflag; /* local mode flags */
- a_target_cc c_line; /* line discipline */
- a_target_cc c_cc[TARGET_NCCS]; /* control characters */
+ target_tcflag_t c_iflag; /* input mode flags */
+ target_tcflag_t c_oflag; /* output mode flags */
+ target_tcflag_t c_cflag; /* control mode flags */
+ target_tcflag_t c_lflag; /* local mode flags */
+ target_cc_t c_line; /* line discipline */
+ target_cc_t c_cc[TARGET_NCCS]; /* control characters */
};
/* c_cc characters */