diff options
author | Denis Vlasenko | 2006-12-21 13:23:14 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-21 13:23:14 +0000 |
commit | bf66fbc8e2380717c1fab860cfc60c78582839dd (patch) | |
tree | 3ab3dd4df901851ff7f4345708592118766ba4aa /coreutils/echo.c | |
parent | 6910741067913d131d931b1e6424d3b8ed43e64f (diff) | |
download | busybox-bf66fbc8e2380717c1fab860cfc60c78582839dd.zip busybox-bf66fbc8e2380717c1fab860cfc60c78582839dd.tar.gz |
introduce LONE_CHAR (optimized strcmp with one-char string)
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r-- | coreutils/echo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index 99063ae..0c8eac3 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c @@ -29,7 +29,7 @@ #include <stdlib.h> #include "busybox.h" -int bb_echo(int ATTRIBUTE_UNUSED argc, char **argv) +int bb_echo(char **argv) { #ifndef CONFIG_FEATURE_FANCY_ECHO #define eflag '\\' @@ -114,7 +114,7 @@ just_echo: int echo_main(int argc, char** argv) { - (void)bb_echo(argc, argv); + (void)bb_echo(argv); fflush_stdout_and_exit(EXIT_SUCCESS); } |