summaryrefslogtreecommitdiff
path: root/common/cli_hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cli_hush.c')
-rw-r--r--common/cli_hush.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c
index 9cda97f30e3..a6a8edce1f4 100644
--- a/common/cli_hush.c
+++ b/common/cli_hush.c
@@ -75,7 +75,6 @@
#define __U_BOOT__
#ifdef __U_BOOT__
-#include <common.h> /* readline */
#include <env.h>
#include <malloc.h> /* malloc, free, realloc*/
#include <linux/ctype.h> /* isalpha, isdigit */
@@ -733,7 +732,6 @@ static int builtin_jobs(struct child_prog *child)
return EXIT_SUCCESS;
}
-
/* built-in 'pwd' handler */
static int builtin_pwd(struct child_prog *dummy)
{
@@ -785,7 +783,6 @@ static int builtin_set(struct child_prog *child)
return EXIT_SUCCESS;
}
-
/* Built-in 'shift' handler */
static int builtin_shift(struct child_prog *child)
{
@@ -1733,7 +1730,6 @@ static int run_pipe_real(struct pipe *pi)
pseudo_exec(child);
}
-
/* put our child in the process group whose leader is the
first process in this pipe */
if (pi->pgrp < 0) {
@@ -3410,7 +3406,6 @@ int hush_main(int argc, char * const *argv)
last_return_code=EXIT_SUCCESS;
-
if (argv[0] && argv[0][0] == '-') {
debug_printf("\nsourcing /etc/profile\n");
if ((input = fopen("/etc/profile", "r")) != NULL) {