Commit 85b2d44057c2519f3878d0772b55b44f9280d085

Authored by ths
1 parent 9414cc6f

Fix alpha user build failure.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2982 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 11 additions and 11 deletions
linux-user/alpha/termbits.h
1 -typedef unsigned char cc_t;  
2 -typedef unsigned int speed_t;  
3 -typedef unsigned int tcflag_t; 1 +typedef unsigned char target_cc_t;
  2 +typedef unsigned int target_speed_t;
  3 +typedef unsigned int target_tcflag_t;
4 4
5 #define TARGET_NCCS 19 5 #define TARGET_NCCS 19
6 struct target_termios { 6 struct target_termios {
7 - tcflag_t c_iflag; /* input mode flags */  
8 - tcflag_t c_oflag; /* output mode flags */  
9 - tcflag_t c_cflag; /* control mode flags */  
10 - tcflag_t c_lflag; /* local mode flags */  
11 - cc_t c_cc[TARGET_NCCS]; /* control characters */  
12 - cc_t c_line; /* line discipline (== c_cc[19]) */  
13 - speed_t c_ispeed; /* input speed */  
14 - speed_t c_ospeed; /* output speed */ 7 + target_tcflag_t c_iflag; /* input mode flags */
  8 + target_tcflag_t c_oflag; /* output mode flags */
  9 + target_tcflag_t c_cflag; /* control mode flags */
  10 + target_tcflag_t c_lflag; /* local mode flags */
  11 + target_cc_t c_cc[TARGET_NCCS]; /* control characters */
  12 + target_cc_t c_line; /* line discipline (== c_cc[19]) */
  13 + target_speed_t c_ispeed; /* input speed */
  14 + target_speed_t c_ospeed; /* output speed */
15 }; 15 };
16 16
17 /* c_cc characters */ 17 /* c_cc characters */