summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2000-11-01 22:36:41 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2000-11-01 22:36:41 +0000
commite70ce4d9c574e412adfde9a3d4191f73455a85c3 (patch)
tree8e65dedcb6dd4a9c62efd29cea1dda5c45522a68 /sys/compat/linux/linux_ioctl.c
parent62e12bb630a3696cfd707e193be8d292e8f92eee (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 3efd91ab016b..76cfa4dfad33 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -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 {