diff options
author | ed <ed@FreeBSD.org> | 2012-02-06 18:15:46 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2012-02-06 18:15:46 +0000 |
commit | 3a052ed6cd709e6bdc83bcd5b494bc7184dcdc9b (patch) | |
tree | d8debeaae9cb4bca04afb913e4b72f0cfb34a40e /sys/kern | |
parent | 72e5cc689cd76edc5a83bfdc7828b3e716c85c36 (diff) | |
download | FreeBSD-src-3a052ed6cd709e6bdc83bcd5b494bc7184dcdc9b.zip FreeBSD-src-3a052ed6cd709e6bdc83bcd5b494bc7184dcdc9b.tar.gz |
Fix whitespace inconsistencies in TTY code.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/tty.c | 2 | ||||
-rw-r--r-- | sys/kern/tty_info.c | 4 | ||||
-rw-r--r-- | sys/kern/tty_ttydisc.c | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 01ac809..9a701d7 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1229,7 +1229,7 @@ tty_makedev(struct tty *tp, struct ucred *cred, const char *fmt, ...) /* Slave call-out devices. */ if (tp->t_flags & TF_INITLOCK) { - dev = make_dev_cred(&ttyil_cdevsw, + dev = make_dev_cred(&ttyil_cdevsw, TTYUNIT_CALLOUT | TTYUNIT_INIT, cred, UID_UUCP, GID_DIALER, 0660, "cua%s.init", name); dev_depends(tp->t_dev, dev); diff --git a/sys/kern/tty_info.c b/sys/kern/tty_info.c index d2b059c..6849d0b 100644 --- a/sys/kern/tty_info.c +++ b/sys/kern/tty_info.c @@ -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; @@ -173,7 +173,7 @@ proc_compare(struct proc *p1, struct proc *p2) PROC_LOCK(p2); runb = proc_sum(p2, &estb); PROC_UNLOCK(p2); - + /* * see if at least one of them is runnable */ diff --git a/sys/kern/tty_ttydisc.c b/sys/kern/tty_ttydisc.c index 2a0bb4b..1ac204b 100644 --- a/sys/kern/tty_ttydisc.c +++ b/sys/kern/tty_ttydisc.c @@ -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) { |