[PATCH:xf86-input-keyboard] Whitespace fixes.

Thomas Klausner wiz at NetBSD.org
Sun Oct 27 13:53:34 CET 2013


Replace <SPACE><TAB> with <TAB>.
Remove whitespace at end-of-line.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/bsd_kbd.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c
index 2eb7885..284833d 100644
--- a/src/bsd_kbd.c
+++ b/src/bsd_kbd.c
@@ -69,7 +69,7 @@ int KbdInit(InputInfoPtr pInfo, int what)
 #if defined WSCONS_SUPPORT
             case WSCONS:
 #endif
- 	         tcgetattr(pInfo->fd, &(priv->kbdtty));
+		tcgetattr(pInfo->fd, &(priv->kbdtty));
 #endif
 	         break;
         }
@@ -223,7 +223,7 @@ KbdOn(InputInfoPtr pInfo, int what)
         switch (pKbd->consType) {
 #ifdef WSCONS_SUPPORT
             case WSCONS:
-            	 if ((pKbd->wsKbdDev[0] != 0) && (pInfo->fd == -1)) {
+		if ((pKbd->wsKbdDev[0] != 0) && (pInfo->fd == -1)) {
 			xf86Msg(X_INFO, "opening %s\n", pKbd->wsKbdDev);
 			pInfo->fd = open(pKbd->wsKbdDev, O_RDONLY | O_NONBLOCK | O_EXCL);
 			if (pInfo->fd == -1) {
@@ -275,15 +275,15 @@ KbdOff(InputInfoPtr pInfo, int what)
 #ifdef WSCONS_SUPPORT
             case WSCONS:
                  if ((pKbd->wsKbdDev[0] != 0) && (pInfo->fd != -1)) {
-                 	xf86Msg(X_INFO, "closing %s\n", pKbd->wsKbdDev);
-                 	/* need to close the fd while we're gone */
-                 	close(pInfo->fd);
-                 	pInfo->fd = -1;
+			xf86Msg(X_INFO, "closing %s\n", pKbd->wsKbdDev);
+			/* need to close the fd while we're gone */
+			close(pInfo->fd);
+			pInfo->fd = -1;
                  }
 	         break;
 #endif
         }
-    }   	
+    }
     return Success;
 }
 
@@ -296,7 +296,7 @@ SoundBell(InputInfoPtr pInfo, int loudness, int pitch, int duration)
 #endif
 
     if (loudness && pitch) {
-    	switch (pKbd->consType) {
+	switch (pKbd->consType) {
 #ifdef PCCONS_SUPPORT
 	    case PCCONS:
 	         { int data[2];
@@ -389,7 +389,7 @@ OpenKeyboard(InputInfoPtr pInfo)
     }
 
     switch (prot) {
-    	case PROT_STD:
+	case PROT_STD:
            pInfo->read_input = stdReadInput;
            break;
 #ifdef WSCONS_SUPPORT
-- 
1.8.4.1



More information about the xorg-devel mailing list