diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:48 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:48 +0200 |
commit | abbe1817c385c099b9224753cde8459f77c70da2 (patch) | |
tree | 4084768ca610bd6548bdf4372c9d47e88baa040b /include/common.h | |
parent | af347d05abb8b69fe846d09419a3e0abe1eeb1cd (diff) | |
download | barebox-abbe1817c385c099b9224753cde8459f77c70da2.tar.gz barebox-abbe1817c385c099b9224753cde8459f77c70da2.tar.xz |
svn_rev_381
change readline prototype to be independent of global console_buffer
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 980f3f0e6b..e7911a8d33 100644 --- a/include/common.h +++ b/include/common.h @@ -101,7 +101,7 @@ void print_size (ulong, const char *); /* common/main.c */ void main_loop (void); int run_command (const char *cmd, int flag); -int readline (const char *const prompt); +int readline (const char *prompt, char *buf, int len); void init_cmd_timeout(void); void reset_cmd_timeout(void); |