Author: ed
Date: Mon Feb  6 18:15:46 2012
New Revision: 231095
URL: http://svn.freebsd.org/changeset/base/231095

Log:
  Fix whitespace inconsistencies in TTY code.

Modified:
  head/sys/kern/tty.c
  head/sys/kern/tty_info.c
  head/sys/kern/tty_ttydisc.c
  head/sys/sys/ttycom.h
  head/sys/sys/ttydefaults.h

Modified: head/sys/kern/tty.c
==============================================================================
--- head/sys/kern/tty.c Mon Feb  6 18:13:34 2012        (r231094)
+++ head/sys/kern/tty.c Mon Feb  6 18:15:46 2012        (r231095)
@@ -1229,7 +1229,7 @@ tty_makedev(struct tty *tp, struct ucred
 
                /* 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);

Modified: head/sys/kern/tty_info.c
==============================================================================
--- head/sys/kern/tty_info.c    Mon Feb  6 18:13:34 2012        (r231094)
+++ head/sys/kern/tty_info.c    Mon Feb  6 18:15:46 2012        (r231095)
@@ -109,7 +109,7 @@ thread_compare(struct thread *td, struct
 
        /*
         * 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 pro
        PROC_LOCK(p2);
        runb = proc_sum(p2, &estb);
        PROC_UNLOCK(p2);
-       
+
        /*
         * see if at least one of them is runnable
         */

Modified: head/sys/kern/tty_ttydisc.c
==============================================================================
--- head/sys/kern/tty_ttydisc.c Mon Feb  6 18:13:34 2012        (r231094)
+++ head/sys/kern/tty_ttydisc.c Mon Feb  6 18:15:46 2012        (r231095)
@@ -661,7 +661,6 @@ ttydisc_echo(struct tty *tp, char c, int
        return ttydisc_echo_force(tp, c, quote);
 }
 
-
 static void
 ttydisc_reprint_char(void *d, char c, int quote)
 {

Modified: head/sys/sys/ttycom.h
==============================================================================
--- head/sys/sys/ttycom.h       Mon Feb  6 18:13:34 2012        (r231094)
+++ head/sys/sys/ttycom.h       Mon Feb  6 18:15:46 2012        (r231095)
@@ -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

Modified: head/sys/sys/ttydefaults.h
==============================================================================
--- head/sys/sys/ttydefaults.h  Mon Feb  6 18:13:34 2012        (r231094)
+++ head/sys/sys/ttydefaults.h  Mon Feb  6 18:15:46 2012        (r231095)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to