aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/tty.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-05-28 15:24:13 +0000
committerBruce Evans <bde@FreeBSD.org>2002-05-28 15:24:13 +0000
commit97be9f99d2eb7e70f470c411b41f479dfaebb7d5 (patch)
tree77dbd5d99871ae2ec1f5c4bef8b9c15d3488ea55 /sys/sys/tty.h
parent6b658142fd02bf3e447bab0310121f402e188aea (diff)
downloadsrc-97be9f99d2eb7e70f470c411b41f479dfaebb7d5.tar.gz
src-97be9f99d2eb7e70f470c411b41f479dfaebb7d5.zip
Fixed some style bugs in recent commits.
Notes
Notes: svn path=/head/; revision=97402
Diffstat (limited to 'sys/sys/tty.h')
-rw-r--r--sys/sys/tty.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/sys/tty.h b/sys/sys/tty.h
index 80ed1bd803c7..0d900a61c3a9 100644
--- a/sys/sys/tty.h
+++ b/sys/sys/tty.h
@@ -119,7 +119,7 @@ struct tty {
#define t_cc t_termios.c_cc
#define t_cflag t_termios.c_cflag
-#define t_dev ttyu.t_kdev
+#define t_dev ttyu.t_kdev
#define t_iflag t_termios.c_iflag
#define t_ispeed t_termios.c_ispeed
#define t_lflag t_termios.c_lflag
@@ -132,10 +132,10 @@ struct tty {
#define TTOPRI (PSOCK + 2) /* Sleep priority for tty writes. */
/*
- * Userland version of struct tty, for sysctl
+ * Userland version of struct tty, for sysctl.
*/
struct xtty {
- size_t xt_size; /* Structure size */
+ size_t xt_size; /* Structure size. */
long xt_rawcc; /* Raw input queue statistics. */
long xt_cancc; /* Canonical queue statistics. */
long xt_outcc; /* Output queue statistics. */
@@ -143,9 +143,9 @@ struct xtty {
udev_t xt_dev; /* Userland (sysctl) instance. */
int xt_state; /* Device and driver (TS*) state. */
int xt_flags; /* Tty flags. */
- int xt_timeout; /* Timeout for ttywait() */
- pid_t xt_pgid; /* Process group ID */
- pid_t xt_sid; /* Session ID */
+ int xt_timeout; /* Timeout for ttywait(). */
+ pid_t xt_pgid; /* Process group ID. */
+ pid_t xt_sid; /* Session ID. */
struct termios xt_termios; /* Termios state. */
struct winsize xt_winsize; /* Window size. */
int xt_column; /* Tty output column. */