From c227f0995e1722a1abccc28cadf0664266bd8043 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 1 Oct 2009 16:12:16 -0500 Subject: Revert "Get rid of _t suffix" In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29. Signed-off-by: Anthony Liguori --- linux-user/x86_64/termbits.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'linux-user/x86_64/termbits.h') 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 */ -- cgit v1.2.1