diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 11:29:22 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 11:29:22 +0300 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/cal.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 786156253..cd7be0d30 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -161,7 +161,7 @@ int cal_main(int argc, char **argv) int row, len, days[MAXDAYS]; int *dp = days; char lineout[30]; - + day_array(month, year, dp); len = sprintf(lineout, "%s %d", month_names[month - 1], year); bb_printf("%*s%s\n%s\n", @@ -176,7 +176,7 @@ int cal_main(int argc, char **argv) int row, which_cal, week_len, days[12][MAXDAYS]; int *dp; char lineout[80]; - + sprintf(lineout, "%d", year); center(lineout, (WEEK_LEN * 3 + HEAD_SEP * 2) @@ -317,7 +317,7 @@ static void blank_string(char *buf, size_t buflen) static char *build_row(char *p, int *dp) { int col, val, day; - + memset(p, ' ', (julian + DAY_LEN) * 7); col = 0; |