diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /coreutils/cal.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.tar.bz2 busybox-w32-4daad9004d8f07991516970a1cbd77756fae7041.zip |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'coreutils/cal.c')
-rw-r--r-- | coreutils/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c index 35a563145..3116e1ebe 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c | |||
@@ -167,7 +167,7 @@ int cal_main(int argc, char **argv) | |||
167 | if (!julian) { | 167 | if (!julian) { |
168 | printf("%*s%s", HEAD_SEP, "", day_headings); | 168 | printf("%*s%s", HEAD_SEP, "", day_headings); |
169 | } | 169 | } |
170 | putchar('\n'); | 170 | bb_putchar('\n'); |
171 | for (row = 0; row < (6*7); row += 7) { | 171 | for (row = 0; row < (6*7); row += 7) { |
172 | for (which_cal = 0; which_cal < 3-julian; which_cal++) { | 172 | for (which_cal = 0; which_cal < 3-julian; which_cal++) { |
173 | dp = days[month + which_cal] + row; | 173 | dp = days[month + which_cal] + row; |