Fix whitespace inconsistencies in TTY code.
This commit is contained in:
parent
f0e3e0350a
commit
cd864a19a5
@ -109,7 +109,7 @@ thread_compare(struct thread *td, struct thread *td2)
|
||||
|
||||
/*
|
||||
* Fetch running stats, pctcpu usage, and interruptable flag.
|
||||
*/
|
||||
*/
|
||||
thread_lock(td);
|
||||
runa = TD_IS_RUNNING(td) | TD_ON_RUNQ(td);
|
||||
slpa = td->td_flags & TDF_SINTR;
|
||||
|
@ -661,7 +661,6 @@ ttydisc_echo(struct tty *tp, char c, int quote)
|
||||
return ttydisc_echo_force(tp, c, quote);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
ttydisc_reprint_char(void *d, char c, int quote)
|
||||
{
|
||||
|
@ -105,7 +105,7 @@ struct winsize {
|
||||
#define TIOCM_SR 0020 /* secondary receive */
|
||||
#define TIOCM_CTS 0040 /* clear to send */
|
||||
#define TIOCM_DCD 0100 /* data carrier detect */
|
||||
#define TIOCM_RI 0200 /* ring indicate */
|
||||
#define TIOCM_RI 0200 /* ring indicate */
|
||||
#define TIOCM_DSR 0400 /* data set ready */
|
||||
#define TIOCM_CD TIOCM_DCD
|
||||
#define TIOCM_CAR TIOCM_DCD
|
||||
|
@ -79,9 +79,9 @@
|
||||
#define CSTART CTRL('Q')
|
||||
#define CSTOP CTRL('S')
|
||||
#define CLNEXT CTRL('V')
|
||||
#define CDISCARD CTRL('O')
|
||||
#define CWERASE CTRL('W')
|
||||
#define CREPRINT CTRL('R')
|
||||
#define CDISCARD CTRL('O')
|
||||
#define CWERASE CTRL('W')
|
||||
#define CREPRINT CTRL('R')
|
||||
#define CEOT CEOF
|
||||
/* compat */
|
||||
#define CBRK CEOL
|
||||
|
Loading…
x
Reference in New Issue
Block a user