fix linux_termio and linux_termios structs on alpha. alpha differences

are in the termios struct (probably because linux wants to be compatible
with the osf/1 termios struct), not the termio struct.
This commit is contained in:
Andrew Gallatin 2000-11-01 22:36:41 +00:00
parent 62e12bb630
commit e70ce4d9c5
2 changed files with 8 additions and 8 deletions

View File

@ -286,7 +286,7 @@
#define LINUX_VQUIT 9
#define LINUX_VMIN 16
#define LINUX_VTIME 17
#define LINUX_NCC 19
#define LINUX_NCC 8
/* Linux termios c_cc values */
#define LINUX_VEOL 1

View File

@ -130,15 +130,8 @@ struct linux_termio {
unsigned short c_oflag;
unsigned short c_cflag;
unsigned short c_lflag;
#ifdef __alpha__
unsigned char c_cc[LINUX_NCCS];
unsigned char c_line;
unsigned int c_ispeed;
unsigned int c_ospeed;
#else
unsigned char c_line;
unsigned char c_cc[LINUX_NCC];
#endif
};
struct linux_termios {
@ -146,8 +139,15 @@ struct linux_termios {
unsigned int c_oflag;
unsigned int c_cflag;
unsigned int c_lflag;
#ifdef __alpha__
unsigned char c_cc[LINUX_NCCS];
unsigned char c_line;
unsigned int c_ispeed;
unsigned int c_ospeed;
#else
unsigned char c_line;
unsigned char c_cc[LINUX_NCCS];
#endif
};
struct linux_winsize {