commit | 4daad9004d8f07991516970a1cbd77756fae7041 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Sep 27 10:20:47 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Sep 27 10:20:47 2007 +0000 |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 [diff] [blame] |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
diff --git a/coreutils/echo.c b/coreutils/echo.c index 085e851..851d2ef 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c
@@ -100,18 +100,18 @@ c = bb_process_escape_sequence(&arg); } } - putchar(c); + bb_putchar(c); } arg = *++argv; if (!arg) break; - putchar(' '); + bb_putchar(' '); } newline_ret: if (nflag) { - putchar('\n'); + bb_putchar('\n'); } ret: return fflush(stdout);