summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc/bits/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/bits/termios.h')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/termios.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/termios.h b/sysdeps/unix/sysv/linux/sparc/bits/termios.h
index 7047e47a02..c797f49a84 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/termios.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/termios.h
@@ -34,10 +34,6 @@ struct termios
tcflag_t c_lflag; /* local mode flags */
cc_t c_line; /* line discipline */
cc_t c_cc[NCCS]; /* control characters */
-#ifdef __KERNEL__
-# define SIZEOF_USER_TERMIOS sizeof (struct termios) - (2*sizeof (cc_t))
- cc_t _x_cc[2]; /* We need them to hold vmin/vtime */
-#endif
};
/* c_cc characters */
@@ -61,16 +57,9 @@ struct termios
#define VWERASE 14
#define VLNEXT 15
-/* Kernel keeps vmin/vtime separated, user apps assume vmin/vtime is
- * shared with eof/eol
- */
-#ifdef __KERNEL__
-# define VMIN 16
-# define VTIME 17
-#else
-# define VMIN VEOF
-# define VTIME VEOL
-#endif
+/* User apps assume vmin/vtime is shared with eof/eol */
+#define VMIN VEOF
+#define VTIME VEOL
/* c_iflag bits */
#define IGNBRK 0x00000001