summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-02-14 19:59:19 +0000
committerWolfgang Denk <wd@denx.de>2012-03-06 21:09:18 +0100
commitf47360a74ec05c078960bf6f8c10a7f426c7d11d (patch)
treeda8f3b450fa39aa0ad3966da7c2e04f243a30da7 /include/common.h
parent79714c1e26229985c2ed9dd5853b55732cb21f2c (diff)
downloadtalos-obmc-uboot-f47360a74ec05c078960bf6f8c10a7f426c7d11d.tar.gz
talos-obmc-uboot-f47360a74ec05c078960bf6f8c10a7f426c7d11d.zip
Rename run_command() to builtin_run_command()
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 8f5331eb7a..dd1b9edbba 100644
--- a/include/common.h
+++ b/include/common.h
@@ -260,7 +260,7 @@ int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen);
/* common/main.c */
void main_loop (void);
-int run_command (const char *cmd, int flag);
+int builtin_run_command(const char *cmd, int flag);
int run_command2(const char *cmd, int flag);
int readline (const char *const prompt);
int readline_into_buffer(const char *const prompt, char *buffer,
OpenPOWER on IntegriCloud