summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-01-28 22:30:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-30 07:58:31 +0100
commitf0f40101be54f25c8ed34c6f92d6842d90950ecd (patch)
tree2f4f334035a75d4cc3a14a2c5d36be6a90aa7f5a /lib
parent7dd2ee1248bfd9d86c3f9b4ed3812c83229e7b3d (diff)
downloadbarebox-f0f40101be54f25c8ed34c6f92d6842d90950ecd.tar.gz
barebox-f0f40101be54f25c8ed34c6f92d6842d90950ecd.tar.xz
ratp: move barebox-specific command to ratp_bb.h
The ratp_run_command() is really an implementation detail of the barebox ratp 'command' operation support. Move it to the barebox specific header and rename it with the correct prefix. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/readline.c b/lib/readline.c
index b5d99ca185..1e380abeca 100644
--- a/lib/readline.c
+++ b/lib/readline.c
@@ -3,7 +3,7 @@
#include <init.h>
#include <libbb.h>
#include <poller.h>
-#include <ratp.h>
+#include <ratp_bb.h>
#include <xfuncs.h>
#include <complete.h>
#include <linux/ctype.h>
@@ -203,7 +203,7 @@ int readline(const char *prompt, char *buf, int len)
while (!tstc()) {
poller_call();
if (IS_ENABLED(CONFIG_RATP))
- ratp_run_command();
+ barebox_ratp_command_run();
}
ichar = read_key();