summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/termios.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/sys/termios.h b/sys/sys/termios.h
index 056b3b6..00259f1 100644
--- a/sys/sys/termios.h
+++ b/sys/sys/termios.h
@@ -196,16 +196,6 @@ struct termios {
};
/*
- * Commands passed to tcsetattr() for setting the termios structure.
- */
-#define TCSANOW 0 /* make change immediate */
-#define TCSADRAIN 1 /* drain output, then change */
-#define TCSAFLUSH 2 /* drain output, flush input */
-#ifndef _POSIX_SOURCE
-#define TCSASOFT 0x10 /* flag - don't alter h.w. state */
-#endif
-
-/*
* Standard speeds
*/
#define B0 0
@@ -240,6 +230,16 @@ struct termios {
#ifndef _KERNEL
+/*
+ * Commands passed to tcsetattr() for setting the termios structure.
+ */
+#define TCSANOW 0 /* make change immediate */
+#define TCSADRAIN 1 /* drain output, then change */
+#define TCSAFLUSH 2 /* drain output, flush input */
+#ifndef _POSIX_SOURCE
+#define TCSASOFT 0x10 /* flag - don't alter h.w. state */
+#endif
+
#define TCIFLUSH 1
#define TCOFLUSH 2
#define TCIOFLUSH 3
OpenPOWER on IntegriCloud