From 4daad9004d8f07991516970a1cbd77756fae7041 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 27 Sep 2007 10:20:47 +0000 Subject: introduce bb_putchar(). saves ~1800 on uclibc (less on glibc). --- coreutils/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/cal.c') 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) if (!julian) { printf("%*s%s", HEAD_SEP, "", day_headings); } - putchar('\n'); + bb_putchar('\n'); for (row = 0; row < (6*7); row += 7) { for (which_cal = 0; which_cal < 3-julian; which_cal++) { dp = days[month + which_cal] + row; -- cgit v1.2.3