diff options
author | Denis Vlasenko | 2007-09-27 10:20:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-27 10:20:47 +0000 |
commit | 4daad9004d8f07991516970a1cbd77756fae7041 (patch) | |
tree | f1a17e4b168ef8fdf8af92ac5ce8deba89d38db2 /coreutils/echo.c | |
parent | 1acdc89e992eb3f0548ff48ba586b31c9a0ae232 (diff) | |
download | busybox-4daad9004d8f07991516970a1cbd77756fae7041.zip busybox-4daad9004d8f07991516970a1cbd77756fae7041.tar.gz |
introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r-- | coreutils/echo.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ int bb_echo(char **argv) 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); |