Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-10-02 14:56:32 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-10-02 14:56:32 +0300
commit791b222dd55d3aa0e8b09be1be571e4829465dd6 (patch)
tree64af8d2c7a5787055bacb15c8a9f20ed51c2732f /shell
parent2cc9d436e80632157b99e18d413a62b2d44d321a (diff)
sleep: fix "sleep -- ARGS"
function old new delta sleep_main 116 119 +3 printf_main 860 837 -23 single_argv 50 25 -25 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 3/-48) Total: -45 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 8e632e0af..ca01e2b5b 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -10883,14 +10883,6 @@ static int FAST_FUNC builtin_history(char **argv UNUSED_PARAM)
}
#endif
-static char **skip_dash_dash(char **argv)
-{
- argv++;
- if (argv[0] && argv[0][0] == '-' && argv[0][1] == '-' && argv[0][2] == '\0')
- argv++;
- return argv;
-}
-
static int FAST_FUNC builtin_cd(char **argv)
{
const char *newdir;