zap whitespace

-- 
Alexandr Shadchin

Index: keysym.c
===================================================================
RCS file: /cvs/src/sbin/wsconsctl/keysym.c,v
retrieving revision 1.6
diff -u -p -r1.6 keysym.c
--- keysym.c    28 Jun 2010 20:40:39 -0000      1.6
+++ keysym.c    13 Jul 2012 21:32:18 -0000
@@ -160,7 +160,7 @@ ksym2name(int k)
 
        if (first_time)
                sort_ksym_tab();
-       
+
        r = bsearch(&k, ksym_tab_by_ksym,
                    NUMKSYMS, sizeof(struct ksym), bcmp_ksym_enc);
 
Index: mouse.c
===================================================================
RCS file: /cvs/src/sbin/wsconsctl/mouse.c,v
retrieving revision 1.11
diff -u -p -r1.11 mouse.c
--- mouse.c     20 Aug 2010 00:20:55 -0000      1.11
+++ mouse.c     13 Jul 2012 21:32:18 -0000
@@ -44,7 +44,7 @@ static int resolution;
 static int samplerate;
 static int rawmode;
 
-struct wsmouse_calibcoords wmcoords, wmcoords_save; 
+struct wsmouse_calibcoords wmcoords, wmcoords_save;
 
 struct field mouse_field_tab[] = {
     { "resolution",            &resolution,    FMT_UINT,       FLG_WRONLY },
@@ -61,8 +61,8 @@ mouse_get_values(int fd)
        if (field_by_value(mouse_field_tab, &mstype)->flags & FLG_GET)
                if (ioctl(fd, WSMOUSEIO_GTYPE, &mstype) < 0)
                        warn("WSMOUSEIO_GTYPE");
-       
-       if (field_by_value(mouse_field_tab, &rawmode)->flags & FLG_GET) { 
+
+       if (field_by_value(mouse_field_tab, &rawmode)->flags & FLG_GET) {
                if (ioctl(fd, WSMOUSEIO_GCALIBCOORDS, &wmcoords) < 0) {
                        if (errno == ENOTTY)
                                field_by_value(mouse_field_tab,
@@ -80,7 +80,7 @@ mouse_get_values(int fd)
                                    &wmcoords)->flags |= FLG_DEAD;
                        else
                                warn("WSMOUSEIO_GCALIBCOORDS");
-       }       
+       }
 }
 
 int
@@ -98,7 +98,7 @@ mouse_put_values(int fd)
                        return 1;
                }
        }
-       if (field_by_value(mouse_field_tab, &rawmode)->flags & FLG_SET) { 
+       if (field_by_value(mouse_field_tab, &rawmode)->flags & FLG_SET) {
                wmcoords.samplelen = rawmode;
                if (ioctl(fd, WSMOUSEIO_SCALIBCOORDS, &wmcoords) < 0) {
                        if (errno == ENOTTY) {
Index: util.c
===================================================================
RCS file: /cvs/src/sbin/wsconsctl/util.c,v
retrieving revision 1.57
diff -u -p -r1.57 util.c
--- util.c      17 Apr 2012 14:53:47 -0000      1.57
+++ util.c      13 Jul 2012 21:32:18 -0000
@@ -45,7 +45,7 @@
 
 extern struct wskbd_map_data kbmap;    /* from keyboard.c */
 extern struct wskbd_map_data newkbmap; /* from map_parse.y */
-extern struct wsmouse_calibcoords wmcoords;    /* from mouse.c */
+extern struct wsmouse_calibcoords wmcoords;    /* from mouse.c */
 
 struct nameint {
        int value;
Index: wsconsctl.c
===================================================================
RCS file: /cvs/src/sbin/wsconsctl/wsconsctl.c,v
retrieving revision 1.26
diff -u -p -r1.26 wsconsctl.c
--- wsconsctl.c 20 Aug 2010 00:20:55 -0000      1.26
+++ wsconsctl.c 13 Jul 2012 21:32:18 -0000
@@ -125,7 +125,7 @@ main(int argc, char *argv[])
                                        if (!device || errno != ENXIO) {
                                                if (device && errno != ENOENT) {
                                                        warn("%s", device);
-                                                       error = 1;      
+                                                       error = 1;
                                                }
                                                break;
                                        } else
@@ -319,7 +319,7 @@ tab_by_name(const char *var, int *idx)
                }
        } else
                i = 0;
-       
+
        *idx = i;
 
        return (sw);

Reply via email to