[hackers] [sbase] style: whitespace fixes || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 01 Apr 2014 17:20:47 +0200

commit f7403ce6c6a9adb3c8567c7ab103c9e2c1e94f9a
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Tue Apr 1 15:26:10 2014 +0200

    style: whitespace fixes
    
    Signed-off-by: Hiltjo Posthuma <hiltjo_AT_codemadness.org>

diff --git a/cal.c b/cal.c
index c34be66..c1ff8da 100644
--- a/cal.c
+++ b/cal.c
_AT_@ -28,8 +28,8 @@ drawcal(int year, int month, int day, int ncols, int nmons, int fday)
         int row = 0;
         char *days[] = { "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", };
 
- if(!ncols)
- ncols = nmons;
+ if(!ncols)
+ ncols = nmons;
         while(nmons > 0) {
                 last = MIN(nmons, ncols);
                 for(i = 0; i < last; i++) {
_AT_@ -76,7 +76,6 @@ drawcal(int year, int month, int day, int ncols, int nmons, int fday)
         }
 }
 
-
 static int
 dayofweek(int year, int month, int day, int fday)
 {
_AT_@ -96,7 +95,7 @@ isleap(int year)
 {
         bool leap = false;
 
- if(year % 4 == 0)
+ if(year % 4 == 0)
                 leap = true;
         if(year % 100 == 0)
                 leap = false;
_AT_@ -105,7 +104,6 @@ isleap(int year)
         return leap;
 }
 
-
 static void
 usage(void)
 {
diff --git a/paste.c b/paste.c
index 7d52930..e536fde 100644
--- a/paste.c
+++ b/paste.c
_AT_@ -103,7 +103,6 @@ main(int argc, char *argv[])
         return EXIT_SUCCESS;
 }
 
-
 static size_t
 unescape(wchar_t *delim)
 {
diff --git a/split.c b/split.c
index b63a988..1268f19 100644
--- a/split.c
+++ b/split.c
_AT_@ -27,7 +27,7 @@ main(int argc, char **argv)
         int always = 0;
         FILE *in=stdin, *out=NULL;
 
- sizes['K'] = 1024;
+ sizes['K'] = 1024;
         sizes['M'] = 1024L*1024L;
         sizes['G'] = 1024L*1024L*1024L;
 
_AT_@ -96,7 +96,6 @@ Nextfile:
                 break;
         }
         return EXIT_SUCCESS;
-
 }
 
 void
_AT_@ -105,7 +104,6 @@ usage(void)
         eprintf("usage: split [-d] [-a len] [-b [bytes[k|m|g]]] [-l [lines]] [input [prefix]]
");
 }
 
-
 int
 itostr(char *str, int x, int n)
 {
diff --git a/uudecode.c b/uudecode.c
index a508d43..d991da7 100644
--- a/uudecode.c
+++ b/uudecode.c
_AT_@ -109,10 +109,10 @@ parseheader(FILE *fp, const char *s, const char *header, mode_t *mode, char **fn
         *q++ = '
Received on Tue Apr 01 2014 - 17:20:47 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 01 2014 - 17:24:27 CEST