From fdbbb048933389c5a2624aa77aa5af2dbea75b01 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 9 Dec 2002 11:10:40 +0000 Subject: Command line history changes, lastpatch_71 from Vladimir N. Oleynik --- shell/cmdedit.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shell/cmdedit.h') diff --git a/shell/cmdedit.h b/shell/cmdedit.h index 045588dc1..991dafcd1 100644 --- a/shell/cmdedit.h +++ b/shell/cmdedit.h @@ -3,7 +3,9 @@ int cmdedit_read_input(char* promptStr, char* command); -void load_history ( char *fromfile ); -void save_history ( char *tofile ); +#ifdef CONFIG_FEATURE_COMMAND_SAVEHISTORY +void load_history ( const char *fromfile ); +void save_history ( const char *tofile ); +#endif #endif /* CMDEDIT_H */ -- cgit v1.2.3-55-g6feb