From: Erik M. <er...@us...> - 2001-10-07 23:32:08
|
Update of /cvsroot/blob/blob/src/lib In directory usw-pr-cvs1:/tmp/cvs-serv9847/src/lib Modified Files: command.c Log Message: add command line history to diag (making cmdhist_init() an initcall while doing so) Index: command.c =================================================================== RCS file: /cvsroot/blob/blob/src/lib/command.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- command.c 2001/10/07 21:28:57 1.4 +++ command.c 2001/10/07 23:32:05 1.5 @@ -274,7 +274,7 @@ /* more or less like SerialInputString(), but with echo and backspace */ -int GetCommand(char *command, int len, int timeout) +int __attribute__((weak)) GetCommand(char *command, int len, int timeout) { u32 startTime, currentTime; char c; |