Fix alpha user build failure.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 12 Jun 2007 21:22:16 +0000 (21:22 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 12 Jun 2007 21:22:16 +0000 (21:22 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2982 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/alpha/termbits.h

index a30c2a9..86d0982 100644 (file)
@@ -1,17 +1,17 @@
-typedef unsigned char  cc_t;
-typedef unsigned int   speed_t;
-typedef unsigned int   tcflag_t;
+typedef unsigned char  target_cc_t;
+typedef unsigned int   target_speed_t;
+typedef unsigned int   target_tcflag_t;
 
 #define TARGET_NCCS 19
 struct target_termios {
-       tcflag_t c_iflag;               /* input mode flags */
-       tcflag_t c_oflag;               /* output mode flags */
-       tcflag_t c_cflag;               /* control mode flags */
-       tcflag_t c_lflag;               /* local mode flags */
-       cc_t c_cc[TARGET_NCCS];         /* control characters */
-       cc_t c_line;                    /* line discipline (== c_cc[19]) */
-       speed_t c_ispeed;               /* input speed */
-       speed_t c_ospeed;               /* output speed */
+       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_cc[TARGET_NCCS];          /* control characters */
+       target_cc_t c_line;                     /* line discipline (== c_cc[19]) */
+       target_speed_t c_ispeed;                /* input speed */
+       target_speed_t c_ospeed;                /* output speed */
 };
 
 /* c_cc characters */